{"id":21529224,"url":"https://github.com/everx-labs/ever-cli","last_synced_at":"2026-03-08T13:40:23.441Z","repository":{"id":37048449,"uuid":"260483686","full_name":"everx-labs/ever-cli","owner":"everx-labs","description":"Command line tool for TVM compatible networks (Everscale, TON, Venom, Gosh, etc)","archived":false,"fork":false,"pushed_at":"2024-12-18T13:13:14.000Z","size":16984,"stargazers_count":84,"open_issues_count":4,"forks_count":32,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-12-18T16:14:03.051Z","etag":null,"topics":["blockchain","cli","client","everscale","ton","ton-blockchain","venom-blockchain","venom-developer-program"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/everx-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-01T14:48:45.000Z","updated_at":"2024-12-16T09:22:11.000Z","dependencies_parsed_at":"2023-10-03T12:52:19.477Z","dependency_job_id":"32c6d28e-d13d-4731-a40e-547bb33f8bfb","html_url":"https://github.com/everx-labs/ever-cli","commit_stats":{"total_commits":1236,"total_committers":34,"mean_commits":36.35294117647059,"dds":0.5008090614886731,"last_synced_commit":"c80a33bf6740090faa4da2d84c754aa28180e227"},"previous_names":["tonlabs/everos-cli","tonlabs/ever-cli","everx-labs/ever-cli","tonlabs/tonos-cli"],"tags_count":302,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everx-labs%2Fever-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everx-labs%2Fever-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everx-labs%2Fever-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everx-labs%2Fever-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/everx-labs","download_url":"https://codeload.github.com/everx-labs/ever-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312077,"owners_count":20918344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","cli","client","everscale","ton","ton-blockchain","venom-blockchain","venom-developer-program"],"created_at":"2024-11-24T01:56:25.949Z","updated_at":"2026-03-08T13:40:18.398Z","avatar_url":"https://github.com/everx-labs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EVER-CLI\n\nEVER-CLI is a multi-platform command line interface for TVM compatible networks (Everscale, Venom, Gosh, TON).\n\nIt allows user to work with keys and seed phrases, deploy contracts, call any of their methods, generate and broadcast\nmessages. It supports specific commands for DeBot, DePool and Multisignature Wallet contracts, as well as a number of\nsupplementary functions.\n\nTo access built-in help, use `--help` or `-h` flag:\n\n```bash\never-cli --help\never-cli \u003csubcommand\u003e -h\n```\n\n# Table of contents\n- [EVER-CLI](#ever-cli)\n- [Table of contents](#table-of-contents)\n- [1. Installation](#1-installation)\n  - [Install compiled executable](#install-compiled-executable)\n  - [Install through EVERDEV](#install-through-everdev)\n  - [Build from source](#build-from-source)\n    - [Prerequisites](#prerequisites)\n    - [Build from source on Linux and macOS](#build-from-source-on-linux-and-macos)\n    - [Build from source on Windows](#build-from-source-on-windows)\n    - [Tails OS secure environment](#tails-os-secure-environment)\n    - [Put EVER-CLI into system environment](#put-ever-cli-into-system-environment)\n    - [Install ever-cli, completion script and bind them](#install-ever-cli-completion-script-and-bind-them)\n    - [Windows debug build troubleshooting](#windows-debug-build-troubleshooting)\n  - [Ubuntu 22 troubleshooting](#ubuntu-22-troubleshooting)\n  - [Check version](#check-version)\n  - [A note on Windows syntax](#a-note-on-windows-syntax)\n- [2. Configuration](#2-configuration)\n  - [2.1. Set the network and parameter values](#21-set-the-network-and-parameter-values)\n    - [2.1.1. Troubleshooting network connectivity problems](#211-troubleshooting-network-connectivity-problems)\n  - [2.2. Check configuration](#22-check-configuration)\n  - [2.3. Clear configuration](#23-clear-configuration)\n  - [2.4. Configure endpoints map](#24-configure-endpoints-map)\n  - [2.5. Override configuration file location](#25-override-configuration-file-location)\n  - [2.6. Override network settings](#26-override-network-settings)\n  - [2.7. Force json output](#27-force-json-output)\n  - [2.8. Debug on fail option](#28-debug-on-fail-option)\n  - [2.9 Configure aliases map](#29-configure-aliases-map)\n- [3. Cryptographic commands](#3-cryptographic-commands)\n  - [3.1. Create seed phrase](#31-create-seed-phrase)\n  - [3.2. Generate public key](#32-generate-public-key)\n  - [3.3. Generate key pair file](#33-generate-key-pair-file)\n- [4. Smart contract commands](#4-smart-contract-commands)\n  - [4.1. Generate contract address](#41-generate-contract-address)\n  - [4.2. Deploy contract](#42-deploy-contract)\n  - [4.3. Generate deploy message offline](#43-generate-deploy-message-offline)\n  - [4.3. Get contract status](#43-get-contract-status)\n  - [4.4. Call method](#44-call-method)\n    - [4.4.1. Call contract on the blockchain](#441-call-contract-on-the-blockchain)\n    - [4.4.2. Run contract method locally](#442-run-contract-method-locally)\n    - [4.4.3. Run funC get-method](#443-run-func-get-method)\n    - [4.4.4. Run contract method locally for saved account BOC](#444-run-contract-method-locally-for-saved-account-boc)\n  - [4.5. Generate encrypted message offline](#45-generate-encrypted-message-offline)\n  - [4.6. Broadcast previously generated message](#46-broadcast-previously-generated-message)\n  - [4.7. Broadcast previously generated message from a file](#47-broadcast-previously-generated-message-from-a-file)\n  - [4.8. Decode commands](#48-decode-commands)\n    - [4.8.1. Decode BOC file](#481-decode-boc-file)\n    - [4.8.2. Decode message body](#482-decode-message-body)\n    - [4.8.3. Decode account commands](#483-decode-account-commands)\n      - [4.8.3.1. Decode account data fields](#4831-decode-account-data-fields)\n      - [4.8.3.2. Decode data from the account BOC file](#4832-decode-data-from-the-account-boc-file)\n    - [4.8.4. Decode stateInit fields](#484-decode-stateinit-fields)\n  - [4.9. Generate payload for internal function call](#49-generate-payload-for-internal-function-call)\n  - [4.10. Alternative syntax for call, deploy and run commands](#410-alternative-syntax-for-call-deploy-and-run-commands)\n- [5. DeBot commands](#5-debot-commands)\n- [6. Multisig commands](#6-multisig-commands)\n  - [6.1. Send tokens](#61-send-tokens)\n  - [6.2. Deploy wallet](#62-deploy-wallet)\n- [7. DePool commands](#7-depool-commands)\n  - [7.1. Configure EVER-CLI for DePool operations](#71-configure-ever-cli-for-depool-operations)\n  - [7.2. Deposit stakes](#72-deposit-stakes)\n    - [7.2.1. Ordinary stake](#721-ordinary-stake)\n    - [7.2.2. Vesting stake](#722-vesting-stake)\n    - [7.2.3. Lock stake](#723-lock-stake)\n  - [7.3. Remove stakes](#73-remove-stakes)\n  - [7.4. Transfer stakes](#74-transfer-stakes)\n  - [7.5. Withdraw Stakes](#75-withdraw-stakes)\n    - [7.5.1. Withdraw entire stake](#751-withdraw-entire-stake)\n    - [7.5.2. Withdraw part of the stake](#752-withdraw-part-of-the-stake)\n  - [7.6. Reinvest Stakes](#76-reinvest-stakes)\n  - [7.7. Read DePool answers](#77-read-depool-answers)\n  - [7.8. View DePool events](#78-view-depool-events)\n  - [7.9. Replenish DePool balance](#79-replenish-depool-balance)\n  - [7.10. Send ticktock to DePool](#710-send-ticktock-to-depool)\n- [8. Proposal commands](#8-proposal-commands)\n  - [8.1. Create proposal and cast the first vote](#81-create-proposal-and-cast-the-first-vote)\n  - [8.2. Vote for proposal](#82-vote-for-proposal)\n  - [8.3. Decode proposal comment](#83-decode-proposal-comment)\n- [9. Supplementary commands](#9-supplementary-commands)\n  - [9.1. Get global config](#91-get-global-config)\n  - [9.2. NodeID](#92-nodeid)\n  - [9.3. Dump blockchain config](#93-dump-blockchain-config)\n  - [9.4. Dump several account states](#94-dump-several-account-states)\n  - [9.5. Update global config parameter](#95-update-global-config-parameter)\n  - [9.6. Wait for an account change](#96-wait-for-an-account-change)\n  - [9.7. Make a raw GraphQL query](#97-make-a-raw-graphql-query)\n  - [9.8. Fee commands](#98-fee-commands)\n    - [9.8.1. Call fee command](#981-call-fee-command)\n    - [9.8.2. Deploy fee command](#982-deploy-fee-command)\n    - [9.8.3. Storage fee command](#983-storage-fee-command)\n- [10. Fetch and replay](#10-fetch-and-replay)\n  - [10.1. How to unfreeze account](#101-how-to-unfreeze-account)\n- [11. Debug commands](#11-debug-commands)\n  - [11.1. Debug transaction](#111-debug-transaction)\n  - [11.2. Debug call](#112-debug-call)\n  - [11.3. Debug run](#113-debug-run)\n  - [11.4. Debug replay transaction on the saved account state](#114-debug-replay-transaction-on-the-saved-account-state)\n  - [11.5. Debug deploy](#115-debug-deploy)\n  - [11.6. Debug message](#116-debug-message)\n  - [11.7. Debug account](#117-debug-account)\n  - [11.8. Render UML sequence diagram](#118-render-uml-sequence-diagram)\n- [12. Alias functionality](#12-alias-functionality)\n- [13. Evercloud authentication](#13-evercloud-authentication)\n\n# 1. Installation\n\n## Install compiled executable\n\nCreate a folder. Download the `.zip` file from the latest release from here:\n[https://github.com/everx-labs/ever-cli/releases](https://github.com/everx-labs/ever-cli/releases) to this folder. Extract\nit.\n\n## Install through EVERDEV\n\nYou can use [EVERDEV](https://github.com/everx-labs/everdev) to install the latest version of EVER-CLI.\n\n```bash\neverdev ever-cli install\n```\n\nThe installer requires [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) to be installed, so it\ncan install packages globally without using sudo. In case of error, manually set environment variable\n`PATH=$PATH:$HOME./everdev/solidity`\n\nThis command updates EVER-CLI installed through EVERDEV to the latest version:\n\n```bash\neverdev ever-cli update\n```\n\nThis command specifies EVER-CLI version to use and downloads it if needed:\n\n```bash\neverdev ever-cli set --version 0.8.0\n```\n\n## Build from source\n\n### Prerequisites\n\n- [Rust](https://www.rust-lang.org/tools/install) latest version\n- OpenSSL\n\nFor Linux:\n\n```bash\nsudo apt-get install libssl-dev (openssl-devel on Fedora)\nsudo apt-get install pkg-config\n```\n\n### Build from source on Linux and macOS\n\nInstall Cargo: [https://github.com/rust-lang/cargo#compiling-from-source](https://github.com/rust-lang/cargo#compiling-from-source)\n\nBuild EVER-CLI tool from source:\n\n```bash\ngit clone https://github.com/everx-labs/ever-cli.git\ncd ever-cli\ncargo update\ncargo build --release\ncd target/release\n```\n\nThe `ever-cli` executable is built in the `ever-cli/target/release` folder.\nCreate a folder elsewhere. Copy the `ever-cli` executable into the new folder you have created.\nOr just add `ever-cli/target/release` to the PATH local variable.\n\n### Build from source on Windows\n\nInstall Cargo: [https://github.com/rust-lang/cargo#compiling-from-source](https://github.com/rust-lang/cargo#compiling-from-source)\n\nBuild EVER-CLI tool from source:\n\n```bash\n\u003e git clone https://github.com/everx-labs/ever-cli.git\n\u003e cd ever-cli\n\u003e cargo update\n\u003e cargo build --release\n\u003e cd target/release\n```\n\nThe `ever-cli` executable is built in the `ever-cli/target/release` folder.\nCreate a folder elsewhere. Copy the `ever-cli` executable into the new folder you have created.\nOr just add `ever-cli/target/release` to the PATH local variable.\n\n### Tails OS secure environment\n\nFor maximum security while working with offline EVER-CLI features (such as cryptographic commands or encrypted message\ngeneration), you can use the [Tails OS](https://tails.boum.org/).\n\n### Put EVER-CLI into system environment\n\nOptional, Linux/macOS. Use the following command to put the utility into system environment:\n\n```bash\nexport PATH=\"\u003cever_folder_path\u003e:$PATH\"\n```\n\nThis step can be skipped, if EVER-CLI was installed through EVERDEV. Otherwise, if you skip this step, make sure you\nalways run the utility from folder containing the utility:\n\n```bash\n./ever-cli \u003ccommand\u003e \u003coptions\u003e\n```\n\n### Install ever-cli, completion script and bind them\n\nOn Linux ever-cli can be installed with a completion script by using such commands:\n\n```bash\ncd ever-cli\ncargo install --force --path .\ncomplete -C __ever-cli_completion ever-cli\n```\n\nAfter adding completion script, user can use `\u003cTab\u003e` key to complete `--addr` option with aliases saved in the config\nfile and `-m/--method` option with methods loaded from the ABI file.\n\n### Windows debug build troubleshooting\n\nDefault debug executable built after `cargo build` command may have an issue with binary default stack size:\n\n```bash\n\u003e cargo build\nFinished dev [unoptimized + debuginfo] target(s) in 0.66s\n\u003e .\\target\\debug\\ever-cli.exe --version\n\nthread 'main' has overflowed its stack\n```\n\nUser can fix this issue by using [editbin tool from MSVC Tools](https://docs.microsoft.com/ru-ru/cpp/build/reference/editbin-reference?view=msvc-170).\nThis tool allows user to increase binary stack reserve. Increase it by 2 times will help to fix ever-cli:\n\n```bash\n\u003e editbin /STACK:2097152 ever-cli.exe\nMicrosoft (R) COFF/PE Editor Version 14.28.29914.0\nCopyright (C) Microsoft Corporation.  All rights reserved.\n\n\u003e ever-cli.exe --version\never_cli 0.26.7\nCOMMIT_ID: 1e1397b5561ea79d2fd7cce47cd033450b123f25\nBUILD_DATE: Unknown\nCOMMIT_DATE: 2022-05-13 14:15:47 +0300\nGIT_BRANCH: master\n```\n\n## Ubuntu 22 troubleshooting\n\nUbuntu 22 has upgraded to OpenSSL 3.0 and this breaks execution of compiled ever-cli releases. To fix this problem one\nshould install old version of libssl. To do it one can download amd64 package from\n(packages.debian.org)[https://packages.debian.org/stretch/libssl1.1] and install it with dpkg:\n\n```bash\nsudo dpkg -i libssl1.1*.deb\n```\n\n## Check version\n\nYou can check version of the current EVER-CLI installation with the following command:\n\n```bash\never-cli version\n```\n\nOutput example:\n\n```bash\n$ ever-cli version\nConfig: default\never-cli 0.2.0\nCOMMIT_ID: 21ebd53c35bf22696bf1eb434e408ed33318136a\nBUILD_DATE: 2021-01-26 15:06:18 +0300\nCOMMIT_DATE: 2021-01-14 16:13:32 +0300\nGIT_BRANCH: master\n```\n\n## A note on Windows syntax\n\nWhen using Windows command line, the following syntax should be used for all EVER-CLI commands:\n\n1) Never use the `./` symbols before `ever-cli`:\n\n```bash\n\u003e ever-cli \u003ccommand_name\u003e \u003coptions\u003e\n```\n\n2) For all commands with nested quotes, the outer single quotes should be changed to double quotes, and the inner double\nquotes should be shielded by a preceding `\\`. Example:\n\n```bash\n\u003e ever-cli deploy SafeMultisigWallet.tvc \"{\\\"owners\\\":[\\\"0x723b2f0fa217cd10fe21326634e66106678f15d5a584babe4f576dffe9dcbb1b\\\",\\\"0x127e3ca223ad429ddaa053a39fecd21131df173bb459a4438592493245b695a3\\\",\\\"0xc2dd3682ffa9df97a968bef90b63da90fc92b22163f558b63cb7e52bfcd51bbb\\\"],\\\"reqConfirms\\\":2}\" --abi SafeMultisigWallet.abi.json --sign deploy.keys.json\n```\n\nIf this is not done, `arguments are not in json format: key must be a string at line 1 column` error may occur.\n\n# 2. Configuration\n\n## 2.1. Set the network and parameter values\n\nEVER-CLI can store some parameter values in the ever-cli configuration file and use it automatically in various\nsubcommands.\n\nAfter that you can omit the corresponding parameters in subsequent subcommands.\n\nDefault path for the configuration file is `./ever-cli.config.json`. It is created in the current working directory.\nUser can set up path to the configuration file [manually](#25-override-configuration-file-location).\nAll subsequent calls of the utility will use this file by default.\n\nUse the following command to create a configuration file:\n\n```bash\never-cli config [--global] \u003c--option\u003e \u003coption_value\u003e\n```\n\nAll other EVER-CLI commands will indicate the configuration file currently used.\n\nDefault values for options that were not specified are taken from the global configuration file. It has name\n`.ever-cli.global.conf.json` and is located in the folder, where the `ever-cli` executable lies. This global\nconfiguration file can be configured as the ordinary one, but the option `--global` must be used for the `config`\nsubcommand.\n\nList of available options:\n\n```bash\n--abi \u003cABI\u003e                                   Path or link to the contract ABI file or pure json ABI data.\n--access_key \u003cACCESS_KEY\u003e                     Project secret or JWT in Evercloud (dashboard.evercloud.dev).\n--addr \u003cADDR\u003e                                 Contract address.\n--async_call \u003cASYNC_CALL\u003e                     Disables wait for transaction to appear in the network after call command.\n--balance_in_tons \u003cBALANCE_IN_TONS\u003e           Print balance for account command in tons. If false balance is printed in nanotons.\n--debug_fail \u003cDEBUG_FAIL\u003e                     When enabled ever-cli executes debug command on fail of run or call command. Can be enabled with values 'full' or 'minimal' which set the trace level for debug run and disabled with value 'none'.\n--depool_fee \u003cDEPOOL_FEE\u003e                     Value added to the message sent to depool to cover its fees (change will be returned).\n--is_json \u003cIS_JSON\u003e                           Cli prints output in json format.\n--keys \u003cKEYS\u003e                                 Path to the file with keypair.\n--lifetime \u003cLIFETIME\u003e                         Period of time in seconds while message is valid. Change of this parameter may affect \"out_of_sync\" parameter, because \"lifetime\" should be at least 2 times greater than \"out_of_sync\".\n--local_run \u003cLOCAL_RUN\u003e                       Enable preliminary local run before deploy and call commands.\n--method \u003cMETHOD\u003e                             Method name that can be saved to be used by some commands (runx, callx).\n--message_processing_timeout \u003cMSG_TIMEOUT\u003e    Network message processing timeout in ms.\n--no-answer \u003cNO_ANSWER\u003e                       Flag whether to wait for depool answer when calling a depool function.\n--out_of_sync \u003cOUT_OF_SYNC\u003e                   Network connection \"out_of_sync_threshold\" parameter in seconds. Mind that it cant exceed half of the \"lifetime\" parameter.\n--parameters \u003cPARAMETERS\u003e                     Function parameters that can be saved to be used by some commands (runx, callx).\n--project_id \u003cPROJECT_ID\u003e                     Project Id in Evercloud (dashboard.evercloud.dev).\n--pubkey \u003cPUBKEY\u003e                             User public key. Used by DeBot Browser.\n--retries \u003cRETRIES\u003e                           Number of attempts to call smart contract function if previous attempt was unsuccessful.\n--timeout \u003cTIMEOUT\u003e                           Network `wait_for` timeout in ms. This value is also used as timeout for remote files (specified with link, e.g. ABI file) loading.\n--url \u003cURL\u003e                                   Url to connect.\n--wallet \u003cWALLET\u003e                             Multisig wallet address.\n--wc \u003cWC\u003e                                     Workchain id.\n```\n\nExample:\n\n```bash\n$ ever-cli config --url https://main.evercloud.dev --wc -1 --keys key.json --abi SafeMultisigWallet.abi.json --lifetime 3600 --local_run true --retries 3 --timeout 600\nSucceeded.\n{\n  \"url\": \"main.evercloud.dev\",\n  \"wc\": -1,\n  \"addr\": null,\n  \"method\": null,\n  \"parameters\": null,\n  \"wallet\": null,\n  \"pubkey\": null,\n  \"abi_path\": \"SafeMultisigWallet.abi.json\",\n  \"keys_path\": \"key.json\",\n  \"retries\": 3,\n  \"timeout\": 600,\n  \"message_processing_timeout\": 40000,\n  \"out_of_sync_threshold\": 15,\n  \"is_json\": false,\n  \"depool_fee\": 0.5,\n  \"lifetime\": 3600,\n  \"no_answer\": true,\n  \"balance_in_tons\": false,\n  \"local_run\": true,\n  \"async_call\": false,\n  \"debug_fail\": \"None\",\n  \"project_id\": null,\n  \"access_key\": null,\n  \"endpoints\": [\n    \"https://mainnet.evercloud.dev\"\n  ]\n}\n```\n\nSome frequently used networks:\n\n`http://127.0.0.1/` - Node SE local node.\n\n`https://devnet.evercloud.dev` - developer sandbox for testing. EVER-CLI connects to it by default.\n\n`https://mainnet.evercloud.dev` - main Free TON network.\n\nEVER-CLI supports the use of multiple endpoints for networks: if several endpoints are\n[specified in the endpoint map](#24-configure-endpoints-map) for a network, EVER-CLI will use them all when accessing\nit. Otherwise, the network URL will be treated as the only endpoint.\n\n`https://mainnet.evercloud.dev` and `https://devnet.evercloud.dev` networks already have their current endpoints specified in the default endpoint map.\nSee [section 2.4 below](#24-configure-endpoints-map) on how to edit and add endpoints to the endpoint map.\n\n\u003e **Note**: This change was introduced in version 0.16.1 and is fully compatible with scripts written for previous versions, where `https://mainnet.evercloud.dev` and `https://devnet.evercloud.dev` networks were specified with a single url. EVER-CLI will simply use the default endpoint map to access these networks.\n\n\nNetwork configuration can be [overridden](#26-override-network-settings) for any single subcommand.\n\nTo connect to a [DApp Server](https://github.com/everx-labs/TON-OS-DApp-Server) you are running, it should have domain name\nand a DNS record. Then its URL may be used to access it with EVER-CLI:\n\n```bash\never-cli config --url \u003cdapp_server_url\u003e\n```\n\n\u003e Note: Either run ever-cli utility only from the directory where ever-cli.config.json is placed, or use one of the available methods (see [section 2.5](#25-override-configuration-file-location)) to make the utility look for the file elsewhere.\n\n### 2.1.1. Troubleshooting network connectivity problems\n\nMost part of the network connectivity problems can be fixed by using right network endpoints and authentication\ncredentials.\never-cli reads network endpoints settings from the configuration file, so ensure that you have set them properly.\n[Here](https://docs.everos.dev/ever-sdk/reference/ever-os-api/networks) you can get the list of current network\nendpoints.\never-cli usually has the latest list of endpoints, but old endpoints can be saved in the configuration or global\nconfiguration files, so it's better to clear the config files after upgrading the ever-cli:\n\n```bash\n$ ever-cli config --global clear\n$ ever-cli config --global endpoint reset\n$ ever-cli config clear\n$ ever-cli config endpoint reset\n```\n\nIf your network connection can't be established with such error description:\n\n```bash\n$ ever-cli account -1:3333333333333333333333333333333333333333333333333333333333333333\nInput arguments:\naddresses: -1:3333333333333333333333333333333333333333333333333333333333333333\nConnecting to:\n        Url: main.evercloud.dev\n        Endpoints: [\"https://mainnet.evercloud.dev\"]\n\nProcessing...\nError: failed to query account info: Query failed: Can not send http request: Server responded with code 401\nError: 1\n```\n\nit can be caused by absence of authentication credentials. Set them up as described in\n[this section](#13-evercloud-authentication).\n\n## 2.2. Check configuration\n\nYou can print the current or the global configuration parameters with the following command:\n\n```bash\never-cli config --list\never-cli config --global --list\n```\n\n## 2.3. Clear configuration\n\nUse the following command to reset configuration to default values:\n\n```bash\never-cli config clear\n```\n\nThe same options as in ordinary `congfig` command can be used to clear only the specified parametes.\n\n```bash\n$ ever-cli config clear --url --addr --wallet\nSucceeded.\n{\n  \"url\": \"net.evercloud.dev\",\n  \"wc\": 0,\n  \"addr\": null,\n  \"method\": null,\n  \"parameters\": null,\n  \"wallet\": null,\n  \"pubkey\": null,\n  \"abi_path\": null,\n  \"keys_path\": null,\n  \"retries\": 5,\n  \"timeout\": 40000,\n  \"message_processing_timeout\": 40000,\n  \"out_of_sync_threshold\": 15,\n  \"is_json\": false,\n  \"depool_fee\": 0.5,\n  \"lifetime\": 60,\n  \"no_answer\": true,\n  \"balance_in_tons\": false,\n  \"local_run\": false,\n  \"async_call\": false,\n  \"debug_fail\": \"None\",\n  \"project_id\": null,\n  \"access_key\": null,\n  \"endpoints\": [\n    \"https://devnet.evercloud.dev\"\n  ]\n}\n```\n\n## 2.4. Configure endpoints map\n\nEVER-CLI configuration file also stores the endpoints map that can be updated by the user.\nEach time user [changes the url](#21-set-the-network-and-parameter-values), endpoints also change in accordance to the\nendpoints map.\nTo print the map use the following command:\n\n```bash\never-cli config endpoint print\n```\n\nUser can reset map to the default state:\n\n```bash\never-cli config endpoint reset\n```\n\nDefault state of the map:\n\n```bash\n{\n  \"http://127.0.0.1/\": [\n    \"http://0.0.0.0\",\n    \"http://127.0.0.1\",\n    \"http://localhost\"\n  ],\n  \"main.evercloud.dev\": [\n    \"https://mainnet.evercloud.dev\"\n  ],\n  \"net.evercloud.dev\": [\n    \"https://devnet.evercloud.dev\"\n  ]\n}\n```\n\nMap can be changed with `remove` and `add` subcommands:\n\n```bash\never-cli config endpoint remove \u003curl\u003e\never-cli config endpoint add \u003curl\u003e \u003clist_of_endpoints\u003e\n```\n\nExample:\n\n```bash\never-cli config endpoint remove main.evercloud.dev\never-cli config endpoint add main.evercloud.dev \"https://mainnet.evercloud.dev\"\n```\n\n\u003e **Note**: If url used in the add command already exists, endpoints lists will be merged.\n\nIf a network that doesn't have mapped endpoints is\n[specified in the config file](#21-set-the-network-and-parameter-values), its url will be automatically treated as the\nonly endpoint. For example, configuring EVER-CLI to connect to RustNet with the command\n`ever-cli config --url https://rustnet.ton.dev` will result in EVER-CLI using this url as a single endpoint, without\nthe user having to specify it in the endpoints map additionally.\n\n\n## 2.5. Override configuration file location\n\nYou can move the `ever-cli.config.json` configuration file to any other convenient location and/or rename it. There are\nseveral ways you can point the utility to the new location of the file:\n\n- **define environment variable** `EVER_CLI_CONFIG` with the path to your configuration file:\n\n```bash\nexport EVER_CLI_CONFIG=\u003cpath_to_config_file\u003e\n```\n\nExample:\n\n```bash\nexport EVER_CLI_CONFIG=/home/user/config.json\n```\n\n- **define direct option** `--config \u003cpath_to_config_file\u003e` before any other subcommand:\n\n```bash\never-cli --config \u003cpath_to_config_file\u003e \u003cany_subcommand\u003e\n```\n\nExample:\n\n```bash\never-cli --config /home/user/config.json account \u003caddress\u003e\n```\n\nThe `--config` direct option has higher priority than the `EVER_CLI_CONFIG` environment variable.\n\n\u003e Note: You can use the config subcommand to create or edit a configuration file located outside the current working directory.\n\n## 2.6. Override network settings\n\nYou can also separately override [preconfigured network settings](#21-set-the-network-and-parameter-values) for a single subcommand. Use the `--url \u003cnetwork_url\u003e` direct option for this purpose:\n\n```bash\never-cli --url \u003cnetwork_url\u003e \u003cany_subcommand\u003e\n```\n\nExample:\n\n```bash\never-cli --url main.evercloud.dev account \u003caddress\u003e\n```\n\n## 2.7. Force json output\n\nYou can force EVER-CLi to print output in json format. To do so, add `--json` flag before a subcommand:\n\n```bash\never-cli --json \u003cany_subcommand\u003e\n```\n\nThis option can also be saved in the ever-cli configuration file:\n\n```bash\never-cli config --is_json true\n{\n  \"url\": \"http://127.0.0.1/\",\n  \"wc\": 0,\n  \"addr\": \"0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13\",\n  \"method\": null,\n  \"parameters\": null,\n  \"wallet\": \"0:0000000000000000000000000000000000000000000000000000000000000001\",\n  \"pubkey\": \"0x0000000000000000000000000000000000000000000000000000000000000002\",\n  \"abi_path\": null,\n  \"keys_path\": null,\n  \"retries\": 5,\n  \"timeout\": 40000,\n  \"message_processing_timeout\": 40000,\n  \"out_of_sync_threshold\": 15,\n  \"is_json\": true,\n  \"depool_fee\": 0.5,\n  \"lifetime\": 60,\n  \"no_answer\": true,\n  \"balance_in_tons\": false,\n  \"local_run\": false,\n  \"async_call\": false,\n  \"debug_fail\": \"None\",\n  \"endpoints\": [\n    \"http://0.0.0.0/\",\n    \"http://127.0.0.1/\",\n    \"http://localhost/\"\n  ]\n}\n```\n\n## 2.8. Debug on fail option\n\nYou can force EVER-CLi to debug call and run executions if they fail with error code **414**.\n\n```bash\never-cli config --debug_fail \u003ctrace_level\u003e\n```\n\nPossible \u003ctrace_level\u003e values:\n- 'full'\n- 'minimal'\n- 'none'\n\n## 2.9. Configure aliases map\n\nYoo can explore and configure current aliases map with the list of commands\n\n```bash\never-cli config alias add [--addr \u003ccontract_address\u003e] [--abi \u003ccontract_abi\u003e] [--keys \u003ccontract_keys\u003e] \u003calias\u003e  # add entity to the map\never-cli config alias remove \u003calias\u003e  # remove entity\never-cli config alias reset  # clear the map\never-cli config alias print  # print the current state of the map\n```\n\nOptions:\n- `\u003calias\u003e` - alias name of the contract;\n- `\u003ccontract_address\u003e` - address of the contract;\n- `\u003ccontract_abi\u003e` - path to the contract abi file;\n- `\u003ccontract_keys\u003e` - seed phrase or path to the file with contract key pair.\n\nExample:\n\n```bash\n$ ever-cli config alias add msig --addr 0:d5f5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fcd --abi samples/SafeMultisigWallet.abi.json --keys key0.keys.json\nConfig: /home/user/ever-cli/ever-cli.conf.json\n{\n  \"msig\": {\n    \"abi_path\": \"samples/SafeMultisigWallet.abi.json\",\n    \"address\": \"0:d5f5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fcd\",\n    \"key_path\": \"key0.keys.json\"\n  }\n}\n$ ever-cli config alias print\nConfig: /home/user/ever-cli/ever-cli.conf.json\n{\n  \"msig\": {\n    \"abi_path\": \"samples/SafeMultisigWallet.abi.json\",\n    \"address\": \"0:d5f5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fcd\",\n    \"key_path\": \"key0.keys.json\"\n  }\n}\n$ ever-cli config alias add msig2 --addr 0:eef5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fff --abi samples/SafeMultisigWallet.abi.json --keys key1.keys.json\nConfig: /home/user/ever-cli/ever-cli.conf.json\n{\n  \"msig\": {\n    \"abi_path\": \"samples/SafeMultisigWallet.abi.json\",\n    \"address\": \"0:d5f5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fcd\",\n    \"key_path\": \"key0.keys.json\"\n  },\n  \"msig2\": {\n    \"abi_path\": \"samples/SafeMultisigWallet.abi.json\",\n    \"address\": \"0:eef5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fff\",\n    \"key_path\": \"key1.keys.json\"\n  }\n}\n$ ever-cli config alias remove msig\nConfig: /home/user/ever-cli/ever-cli.conf.json\n{\n  \"msig2\": {\n    \"abi_path\": \"samples/SafeMultisigWallet.abi.json\",\n    \"address\": \"0:eef5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fff\",\n    \"key_path\": \"key1.keys.json\"\n  }\n}\n$ ever-cli config alias reset\nConfig: /home/user/ever-cli/ever-cli.conf.json\n{}\n$ ever-cli config alias print\nConfig: /home/user/ever-cli/ever-cli.conf.json\n{}\n```\n\n## 2.10. Enabling verbose mode for SDK execution\n\nUser can increase log level of the tool execution to see more messages. To do it one need to specify environment\nvariable `RUST_LOG=debug`:\n\n```bash\n$ ever-cli callx --addr 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3 --abi ../samples/1_Accumulator.abi.json --keys keys/key0 -m add --value 1\nInput arguments:\n address: 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3\n  method: add\n  params: {\"value\":\"1\"}\n     abi: ../samples/1_Accumulator.abi.json\n    keys: keys/key0\nConnecting to:\n        Url: net.evercloud.dev\n        Endpoints: [\"https://devnet.evercloud.dev/b2ad82504ee54fccb5bc6db8cbb3df1e\"]\n\nMessageId: b3e24321924526dbfdc8ffdd9cc94aeb2da80edca7d87bd7f16f4a0a2afbfa20\nSucceeded.\nResult: {}\n\n# Enable verbose mode\n$ export RUST_LOG=debug\n\n$ ever-cli callx --addr 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3 --abi ../samples/1_Accumulator.abi.json --keys keys/key0 -m add --value 1\nInput arguments:\n address: 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3\n  method: add\n  params: {\"value\":\"1\"}\n     abi: ../samples/1_Accumulator.abi.json\n    keys: keys/key0\nConnecting to:\n        Url: net.evercloud.dev\n        Endpoints: [\"https://devnet.evercloud.dev/b2ad82504ee54fccb5bc6db8cbb3df1e\"]\n\nstarting new connection: https://devnet.evercloud.dev/\nLast block \"76657141a65727996dadf9b929d40887cc3c78df09a97b9daecabd8b3e01327a\"\nMessageId: 64c98e8fbf5aa9ccf9d6526c6275bc617f6eb6f747b616f82e85cda7403c165b\nmessage_expiration_time 1664983987\nfetch_block_timeout 88688\n1664983931: block received {\n  \"id\": \"b3ab65d5b8503dedfa1250d72b7d8247e802551dfedabb80b82454abb6e755ce\",\n  \"gen_utime\": 1664983924,\n  \"after_split\": false,\n  \"workchain_id\": 0,\n  \"shard\": \"7800000000000000\",\n  \"in_msg_descr\": []\n}\nfetch_block_timeout 85461\n1664983933: block received {\n  \"id\": \"8dc7cc2c4ab9be6b4ac0e9d3bcd6aac3179825683f4c8df02f76e9929a649ffc\",\n  \"gen_utime\": 1664983926,\n  \"after_split\": false,\n  \"workchain_id\": 0,\n  \"shard\": \"7800000000000000\",\n  \"in_msg_descr\": []\n}\nfetch_block_timeout 83209\n1664983936: block received {\n  \"id\": \"b6977305cf28b86a0547a7fd34c03ad0534a94fb5453c3639e5f28e18a0c5d6b\",\n  \"gen_utime\": 1664983929,\n  \"after_split\": false,\n  \"workchain_id\": 0,\n  \"shard\": \"7800000000000000\",\n  \"in_msg_descr\": [\n    {\n      \"msg_id\": \"64c98e8fbf5aa9ccf9d6526c6275bc617f6eb6f747b616f82e85cda7403c165b\",\n      \"transaction_id\": \"796ebf67fab053ea88bdf9a971d088fc6dbcb47b106f420c740815246f28c8b7\"\n    }\n  ]\n}\nSucceeded.\nResult: {}\n```\n\n# 3. Cryptographic commands\n\n## 3.1. Create seed phrase\n\nTo generate a mnemonic seed phrase enter the following command:\n\n```bash\never-cli genphrase [--dump \u003cpath\u003e]\n```\n\nOptions:\n\n`--dump \u003cpath\u003e` - Path where to dump keypair generated from the phrase.\n\nExample:\n\n```bash\n$ ever-cli genphrase\nConfig: /home/user/ever-cli.conf.json\nSucceeded.\nSeed phrase: \"rule script joy unveil chaos replace fox recipe hedgehog heavy surge online\"\n\n$ ever-cli genphrase --dump /tmp/1.key\nSucceeded.\nSeed phrase: \"resist immune key jar lunar snake real vintage chicken radar famous cinnamon\"\nKeypair successfully saved to /tmp/1.key.\nSucceeded.\nKeypair saved to /tmp/1.key\n```\n\n## 3.2. Generate public key\n\nTo generate a public key from a seed phrase enter the following command with the seed phrase in quotes:\n\n```bash\never-cli genpubkey \"rule script joy unveil chaos replace fox recipe hedgehog heavy surge online\"\n```\n\nThe generated QR code also contains the public key.\n\nExample:\n\n```bash\n$ ever-cli genpubkey \"rule script joy unveil chaos replace fox recipe hedgehog heavy surge online\"\nConfig: /home/user/ever-cli.conf.json\nSucceeded.\nPublic key: 88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340\n\n\u003cQR code with key\u003e\n\n```\n\n## 3.3. Generate key pair file\n\nTo create a key pair file from a seed phrase use the following command:\n\n```bash\never-cli getkeypair [-o \u003ckeyfile.json\u003e] [-p \"\u003cseed_phrase\u003e\"]\n```\n\n`\u003ckeyfile.json\u003e` - the file the key pair will be written to. If not specified keys will be printed to the stdout.\n`\"\u003cseed_phrase\u003e\"` - seed phrase or secret key. If not specified a new phrase will be generated.\nExample:\n\n```bash\n$ ever-cli getkeypair -o key.json -p \"rule script joy unveil chaos replace fox recipe hedgehog heavy surge online\"\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\nkey_file: key.json\n  phrase: rule script joy unveil chaos replace fox recipe hedgehog heavy surge online\nKeypair successfully saved to key.json.\nSucceeded.\n\n$ ever-cli getkeypair -o key.json\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\nkey_file: key.json\n  phrase: None\nGenerating seed phrase.\nSeed phrase: \"elephant tone error jazz scrap wise kick walk panda snake right feature\"\nKeypair successfully saved to key.json.\nSucceeded.\n\n\n$ ever-cli getkeypair\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\nkey_file: None\n  phrase: None\nGenerating seed phrase.\nSeed phrase: \"behave early mammal cart grape wolf pulse once helmet shop kit this\"\nKeypair: {\n  \"public\": \"d5218be1502c98019a2c08ae588f73abd56b4c72411e8d2ee37e5c2d821e075f\",\n  \"secret\": \"842bd2b9df2ec4ed07b6b66d6d0c2858769ba4ed9005ffe58cba26783504a3ff\"\n}\nSucceeded.\n\n$ ever-cli -j getkeypair\n{\n  \"public\": \"09889cd2f085a693ef04a6dad4b6533c7019014a7e0ca9b5b146e66e550973d9\",\n  \"secret\": \"021196259435d54dfb5c41970db5bcfc2306d59877665c3b573486d441cf021a\"\n}\n```\n\n# 4. Smart contract commands\n\nWhen working with smart contracts, EVER-CLI requires the following files:\n\n- **ABI file** - a .json file that describes the contract interface, the methods and parameters used to interact with it.\n- **TVC file** - the compiled smart contract file. Used only when generating contract address and deploying contract code to the blockchain.\n- **Key pair file** - used in contracts with implemented authorization. It is the file containing [private and public keys](#3-cryptographic-commands) authorized to access the contract. In `--sign` parameter the corresponding seed phrase may be used instead of it.\n\nBy default, the utility looks for these files in the current working directory.\n\n## 4.1. Generate contract address\n\nContract address uniquely identifies the contract on the blockchain. Contract balance is attached to its address, the address is used for any interactions with the contract, such as calling contract functions, sending messages, etc.\n\nContract address is generated based on contract TVC file and selected keys. To get a different address for the same type of contract, use different keys.\n\n\u003e **Note**:  For contracts with ABI 2.4, you should use the flag `--save` to insert the deployment public key into the TCV file.\n\n\u003e **Note**: If your contract has static variables, they can be initialized through [TVM linker](https://github.com/everx-labs/TVM-linker#5-initialize-static-variables-in-compiled-contract) before deployment.\n\nUse the following command to generate the contract address:\n\n```bash\never-cli genaddr [--genkey|--setkey \u003ckeyfile.json\u003e] [--wc \u003cint8\u003e] [--abi \u003ccontract.abi.json\u003e] [--save] [--data \u003cdata\u003e] \u003ccontract.tvc\u003e\n```\n\nOptions:\n\n`--genkey \u003ckeyfile.json\u003e` - generate new `keyfile.json` key pair file and use it to calculate the contract address.\n\n\u003e Note: if you use --genkey, the corresponding seed phrase will be displayed. Write it down, if you mean to keep using this key pair.\n\n`--abi \u003ccontract.abi.json\u003e` - contract ABI interface file. If not specified ever-cli can use ABI path from config of obtained from tvc path (for `\u003ccontrac\u003e.tvc` checks `\u003ccontract\u003e.abi.json`).\n\n`--setkey \u003ckeyfile.json\u003e` - use already [existing](#33-generate-key-pair-file) `keyfile.json` key pair file to calculate the contract address. Seed phrase cannot be used instead of the file.\n\n`--wc \u003cint8\u003e` - ID of the workchain the contract will be deployed to (`-1` for masterchain, `0` for basechain). By default, this value is set to 0.\n\n`--save` - If this flag is specified, modifies the tvc file with the keypair and initial data.\n\n`--data \u003cdata\u003e` - Initial data to insert into the contract. Should be specified in json format.\n\n`\u003ccontract.tvc\u003e` - compiled smart contract file.\n\nAs a result ever-cli displays the new contract address (`Raw address`).\n\nExample ([multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig) address generation for the masterchain):\n\n```bash\n$ ever-cli genaddr --genkey key.json --wc -1 SafeMultisigWallet.tvc --abi SafeMultisigWallet.abi.json\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n     tvc: SafeMultisigWallet.tvc\n      wc: -1\n    keys: key.json\ninit_data: None\nis_update_tvc: None\n\nSeed phrase: \"chimney nice diet engage hen sing vocal upgrade column address consider word\"\nRaw address: -1:a021414a79539001ed35d615a646dc8b89df29ccccf143c30df15c7fbcaff086\ntestnet:\nNon-bounceable address (for init): 0f-gIUFKeVOQAe011hWmRtyLid8pzMzxQ8MN8Vx_vK_whkeM\nBounceable address (for later access): kf-gIUFKeVOQAe011hWmRtyLid8pzMzxQ8MN8Vx_vK_whhpJ\nmainnet:\nNon-bounceable address (for init): Uf-gIUFKeVOQAe011hWmRtyLid8pzMzxQ8MN8Vx_vK_whvwG\nBounceable address (for later access): Ef-gIUFKeVOQAe011hWmRtyLid8pzMzxQ8MN8Vx_vK_whqHD\nSucceeded\n```\n\n## 4.2. Deploy contract\n\n\u003e **Note**:  For contracts using ABI 2.4, it is necessary to first insert the deployment public key into the TCV file. This can be achieved using the `genaddr` function.\n\n\u003e **Note**: If your contract has static variables, they can be initialized with [genaddr command](#41-generate-contract-address) before deployment.\n\nUse the following command to deploy a contract:\n\n```bash\never-cli deploy [--sign \u003cdeploy_seed_or_keyfile\u003e] [--wc \u003cint8\u003e] [--abi \u003ccontract.abi.json\u003e] [--alias \u003calias\u003e] \u003ccontract.tvc\u003e \u003cparams\u003e\n```\n\n`\u003cdeploy_seed_or_keyfile\u003e` - can either be the seed phrase used to generate the deployment key pair file or the key pair file itself. If seed phrase is used, enclose it in double quotes.\n\nExample:\n  `--sign \"flip uncover dish sense hazard smile gun mom vehicle chapter order enact\"`\nor\n  `--sign deploy.keys.json`\n\n`--wc \u003cint8\u003e` ID of the workchain the wallet will be deployed to (`-1` for masterchain, `0` for basechain). By default, this value is set to 0.\n\n`--abi \u003ccontract.abi.json\u003e` - Path or link to the contract ABI file or pure json ABI data. Can be specified in the config file.\n\n`--alias \u003calias\u003e` - allows to save contract parameters (address, abi, keys) to use them easier with `callx` or `runx` commands.\n\n`\u003ccontract.tvc\u003e` - compiled smart contract file.\n\n`\u003cparams\u003e` - deploy command parameters, depend on the contract.\n\nSometimes it can be not obvious in which way method parameters should be specified,\nespecially if it is a large structure with different and complex fields.\nIt is generally described in [abi doc](https://github.com/everx-labs/ever-abi/blob/master/docs/ABI_2.1_spec.md).\nExample ([multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig)\ncontract deployment to the masterchain):\n\n```bash\n$ ever-cli deploy --sign key.json --wc -1 --abi SafeMultisigWallet.abi.json SafeMultisigWallet.tvc '{\"owners\":[\"0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340\"],\"reqConfirms\":1}'\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n     tvc: SafeMultisigWallet.tvc\n  params: {\"owners\":[\"0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340\"],\"reqConfirms\":1}\n     abi: SafeMultisigWallet.abi.json\n    keys: key.json\n      wc: -1\nConnecting to net.evercloud.dev\nDeploying...\nTransaction succeeded.\nContract deployed at address: -1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\n```\n\n## 4.3. Generate deploy message offline\n\nIf needed, signed deploy message can be generated without immediately broadcasting it to the blockchain. Generated\nmessage can be sent later.\n\n```bash\never-cli deploy_message [--raw] [--output \u003cpath_to_file\u003e] [--signature_id \u003cvalue\u003e] [--sign \u003cdeploy_seed_or_keyfile\u003e] [--wc \u003cint8\u003e] [--abi \u003ccontract.abi.json\u003e] \u003ccontract.tvc\u003e \u003cparams\u003e\n```\n\n`--raw` - use to create raw message boc.\n\n`--output \u003cpath_to_file\u003e` - specify path to file where the raw message should be written to, instead of printing it to terminal.\n\n`--signature_id \u003cvalue\u003e` - use this option to designate a specific signature_id for signing your message. For an automated online retrieval of the signature_id, set the `value` to `online`, which will fetch it from the network configuration. Alternatively, input a specific numerical value to facilitate offline message signing.\n\n`\u003cdeploy_seed_or_keyfile\u003e` - can either be the seed phrase used to generate the deployment key pair file or the key pair file itself. If seed phrase is used, enclose it in double quotes.\n\nExample:\n\n`--sign \"flip uncover dish sense hazard smile gun mom vehicle chapter order enact\"`\n\nor\n\n`--sign deploy.keys.json`\n\n`--wc \u003cint8\u003e` ID of the workchain the wallet will be deployed to (`-1` for masterchain, `0` for basechain). By default, this value is set to 0.\n\n`\u003ccontract.abi.json\u003e` - contract interface file.\n\n`\u003ccontract.tvc\u003e` - compiled smart contract file.\n\n`\u003cparams\u003e` - deploy command parameters, depend on the contract.\n\nExample (saving to a file [multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig) contract deployment message to the masterchain):\n\n```bash\n$ ever-cli deploy_message --raw --output deploy.boc --sign key.json --wc -1 --abi SafeMultisigWallet.abi.json SafeMultisigWallet.tvc '{\"owners\":[\"0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340\"],\"reqConfirms\":1}'\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n     tvc: SafeMultisigWallet.tvc\n  params: {\"owners\":[\"0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340\"],\"reqConfirms\":1}\n     abi: SafeMultisigWallet.abi.json\n    keys: key.json\n      wc: -1\n\nMessageId: 51da1b8840bd12f9ef5152639bd1fe9062d77ed91829301043bb85b4a4d610ea\nExpire at: unknown\nMessage saved to file deploy.boc\nContract's address: -1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\nSucceeded.\n```\n\n## 4.3. Get contract status\n\nYou may use the following command to check the current status of a contract:\n\n```bash\never-cli account [--boc] \u003clist_of_addresses\u003e [--dumptvc \u003ctvc_path\u003e] [--dumpboc \u003cboc_path\u003e]\n```\n\n`\u003clist_of_addresses\u003e` - contract [addresses](#41-generate-contract-address), if not specified address is taken from the config file.\n`--dumptvc \u003ctvc_path\u003e` - this flag can be specified to dump account StateInit to the \u003ctvc_path\u003e file.\n`--dumpboc \u003cboc_path\u003e` - this flag can be specified to dump account boc to the \u003cboc_path\u003e file.\n`--boc` - flag that changes behaviour of the command to work with the saved account state from the BOC file. In this case path to the boc file should be specified instead of address.\n\nExample:\n\n```bash\n$ ever-cli  account 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 0:14014af4a374bdd13dae2379063ea2597634c2c2fc8e99ca9eab431a7ab6f566  0:f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\naddresses: 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13, 0:14014af4a374bdd13dae2379063ea2597634c2c2fc8e99ca9eab431a7ab6f566, 0:f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12\nConnecting to net.evercloud.dev\nProcessing...\nSucceeded.\naddress:       0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13\nacc_type:      Active\nbalance:       11466383488239689 nanoton\nlast_paid:     1640619135\nlast_trans_lt: 0x530197a143\ndata_boc:      b5ee9c720101060100b000014195c06aa743d1f9000dd64b75498f106af4b7e7444234d7de67ea26988f6181dfe001020120050202012004030052bf874da2f56d034e11773c58331900e0e1e91a137e1b4c2ca15607634c2d63e1af0000000061c9dca50052bfbddf9156dc04cca88cf25d9c766b1bd2f1ab7d0878c4d761862fc524758767f10000000061c9dc820053bfd627d55f960de2235b3f1537884d5968e5e486c58c581bc9ea4068c8da164ce18000000030e4ee49c0\ncode_hash:     ccbfc821853aa641af3813ebd477e26818b51e4ca23e5f6d34509215aa7123d9\n\naddress:       0:14014af4a374bdd13dae2379063ea2597634c2c2fc8e99ca9eab431a7ab6f566\nacc_type:      Active\nbalance:       2082745497066 nanoton\nlast_paid:     1640619517\nlast_trans_lt: 0x530a3c2782\ndata_boc:      b5ee9c7201020c0100022e000373000000befe45557e0000000000000000000000000002faf04e577e5cf5b28c2a81afc5ae534a0f3f494cc4ee62ef675ca8e36af911a3c8767a400b0a010183801f13b28d6b697140de03b841b9dde6195ff089aa50b57d514435a6e6181e7baba318b50f6f18c9d307d500216c80d6ecd77d13e437bdfcaf0b4fa6b9204b7847500203a1c00b620939e214cadb7481682034e58a853a77874f473c69cc7d3b1ad9da7f0bafa0000000280000000c0000000bddcfa66622a7b9c955271c779b92448cff442b8efead77d43bd7f50b07a45f380030010706030203cca005040045b41bda168cd2322b5dcd28989176a9eae590288db4d548f2b6948d214de0c9bdb372700045b6554f714ca768f21ad18cff20c7af62091e9fc2d40c06d32d1ace7495f5dd1605781000bda90017d76e405363a8a494a3a8d8c38fcadd4f2c7fb550244fd6d2a77ac12eb029bce000000000000255400000000000000000000000000000034c3babc06000000000000000000000000000000000000000000000000000000000000000100201200908009bbfe85a3348c8ad7734a26245daa7ab9640a236d35523cada523485378326f6cdc9800000000000106f0000000000000000000000000002035ac0000000000000000000000000000000187c4b00e0007bbffdc5329da3c86b4633fc831ebd88247a7f0b50301b4cb46b39d257d7745815e0000000000000095500000000000000000000000002f8eb24987c490760000454310010546f6b656e202331\ncode_hash:     eee7d3331153dce4aa938e3bcdc922467fa215c77f56bbea1debfa8583d22f9c\n\n0:f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12 not found\n\n\n$ ever-cli  account 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\naddresses: 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13\nConnecting to net.evercloud.dev\nProcessing...\nSucceeded.\naddress:       0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13\nacc_type:      Active\nbalance:       11463682795615708 nanoton\nlast_paid:     1640624439\nlast_trans_lt: 0x5379939282\ndata_boc:      b5ee9c7201010401008100014195c06aa743d1f9000dd64b75498f106af4b7e7444234d7de67ea26988f6181dfe00102012003020053bfde8d98393e5db0ea2f609ed9266cf61a7487759d679ea9792adbdcfc137f6caf8000000030e4f89dc00053bfc8658b6b027767d9addd720a0bf8b157379a9b0e9208bab53ad4ee54358c6ce98000000030e4f89dc0\ncode_hash:     ccbfc821853aa641af3813ebd477e26818b51e4ca23e5f6d34509215aa7123d9\n\n```\n\n## 4.4. Call method\n\n### 4.4.1. Call contract on the blockchain\n\n```bash\never-cli call [--abi \u003ccontract.abi.json\u003e] [--sign \u003cseed_or_keyfile\u003e] [--saved_config \u003cconfig_contract_path\u003e] \u003caddress\u003e \u003cmethod\u003e \u003cparams\u003e\n```\n\n`\u003ccontract.abi.json\u003e` - contract interface file.\n\n`\u003cconfig_contract_path\u003e` - path to the file with saved config contract state. Is used for debug on fail.\n\n`\u003cseed_or_keyfile\u003e` - can either be the seed phrase or the corresponding key pair file. If seed phrase is used, enclose it in double quotes.\n\nExample:\n\n- `--sign \"flip uncover dish sense hazard smile gun mom vehicle chapter order enact\"`\n\nor\n\n- `--sign keyfile.json`\n\n`\u003caddress\u003e` - contract [address](#41-generate-contract-address).\n\n`\u003cmethod\u003e` - the method being called.\n\n`\u003cparams\u003e` - parameters of the called method. Can be specified by a path to the file, which contains parameters in json\nformat.\nSometimes it can be not obvious in which way method parameters should be specified,\nespecially if it is a large structure with different and complex fields.\nIt is generally described in [abi doc](https://github.com/everx-labs/ever-abi/blob/master/docs/ABI_2.1_spec.md).\n\nExample (transaction creation in a [multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig) contract):\n\n```bash\n$ ever-cli call 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc submitTransaction '{\"dest\":\"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\"value\":234000000,\"bounce\":false,\"allBalance\":false,\"payload\":\"\"}' --abi SetcodeMultisigWallet.abi.json --sign k1.keys.json\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n address: 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc\n  method: submitTransaction\n  params: {\"dest\":\"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\"value\":234000000,\"bounce\":false,\"allBalance\":false,\"payload\":\"\"}\n     abi: SetcodeMultisigWallet.abi.json\n    keys: k1.keys.json\nlifetime: None\n  output: None\nConnecting to net.evercloud.dev\nGenerating external inbound message...\n\nMessageId: c6baac843fefe6b9e8dc3609487a63ef21207e4fdde9ec253b9a47f7f5a88d01\nExpire at: Sat, 08 May 2021 14:52:23 +0300\nProcessing...\nSucceeded.\nResult: {\n  \"transId\": \"6959885776551137793\"\n}\n```\n\n**Note**: If your function is marked as [responsible](https://github.com/everx-labs/TON-Solidity-Compiler/blob/master/API.md#external-function-calls), EVER-CLI expects `_answer_id` field, and you may encounter errors, if it's missing.\n\n### 4.4.2. Run contract method locally\n\n```bash\never-cli run [--abi \u003ccontract.abi.json\u003e] \u003caddress\u003e \u003cmethod\u003e \u003cparams\u003e\n```\n\n`\u003ccontract.abi.json\u003e` - contract interface file.\n\n`\u003caddress\u003e` - contract [address](#41-generate-contract-address).\n\n`\u003cmethod\u003e` - the method being called.\n\n`\u003cparams\u003e` - parameters of the called method.\nSometimes it can be not obvious in which way method parameters should be specified,\nespecially if it is a large structure with different and complex fields.\nIt is generally described in [abi doc](https://github.com/everx-labs/ever-abi/blob/master/docs/ABI_2.1_spec.md).\n\nExample of a transaction list request in a [multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig):\n\n```bash\n$ ever-cli run 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc getTransactions {} --abi SafeMultisigWallet.abi.json\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n address: 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc\n  method: getTransactions\n  params: {}\n     abi: SafeMultisigWallet.abi.json\n    keys: None\nlifetime: None\n  output: None\nConnecting to net.evercloud.dev\nGenerating external inbound message...\n\nMessageId: ff8b8a73b1a7803a735eb4f620cade78ed45fd1530992fd3bedb91f3c66eacc5\nExpire at: Sat, 08 May 2021 15:16:59 +0300\nRunning get-method...\nSucceeded.\nResult: {\n  \"transactions\": [\n    {\n      \"id\": \"6959890394123980993\",\n      \"confirmationsMask\": \"1\",\n      \"signsRequired\": \"4\",\n      \"signsReceived\": \"1\",\n      \"creator\": \"0x849ee401fde65ad8cda6d937bdc81e2beba0f36ba2f87115f4a2d24a15568203\",\n      \"index\": \"0\",\n      \"dest\": \"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\n      \"value\": \"234000000\",\n      \"sendFlags\": \"3\",\n      \"payload\": \"te6ccgEBAQEAAgAAAA==\",\n      \"bounce\": false\n    }\n  ]\n}\n```\n\n### 4.4.3. Run funC get-method\n\n```bash\never-cli runget [--boc] [--tvc] \u003caddress\u003e \u003cmethod\u003e [\u003cparams\u003e...] [--bc_config \u003cconfig_path\u003e]\n```\n\n`\u003caddress\u003e` - contract [address](#41-generate-contract-address) or path to the file with:\n* account boc (It can be obtained from the TON Live) if `--boc` option is used;\n* account state init if flag `--tvc` is used.\n\n`\u003cmethod\u003e` - the method being called.\n\n`\u003cparams\u003e` - parameters of the called method. Can have multiple values: one for each function parameter.\nParameters should be specified separately without json wrap and argument names.\n\n`--bc_config \u003cconfig_path\u003e` - this option can be used with `--boc` option to specify the file with the blockchain config\nBOC. It can be obtained with [dump blockchain config](#93-dump-blockchain-config) command.\n\nExample:\n\n```bash\n$ ever-cli runget -1:3333333333333333333333333333333333333333333333333333333333333333 active_election_id\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n address: -1:3333333333333333333333333333333333333333333333333333333333333333\n  method: active_election_id\n  params: None\nConnecting to net.evercloud.dev\nRunning get-method...\nSucceded.\nResult: [\"1619901678\"]\n\n$ ever-cli runget --boc acc.boc compute_returned_stake 0x0166d0181a19f87af9397040a68671e1b239f12152824f7d987fd6897d6a9587\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\n address: acc.boc\n  method: compute_returned_stake\n  params: [\"0x0166d0181a19f87af9397040a68671e1b239f12152824f7d987fd6897d6a9587\"]\nConnecting to main.evercloud.dev\nRunning get-method...\nSucceeded.\nResult: [\"125387107580525\"]\n\n$ ever-cli runget --tvc acc.tvc compute_returned_stake 0x0166d0181a19f87af9397040a68671e1b239f12152824f7d987fd6897d6a9587\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\n address: acc.boc\n  method: compute_returned_stake\n  params: [\"0x0166d0181a19f87af9397040a68671e1b239f12152824f7d987fd6897d6a9587\"]\nConnecting to main.evercloud.dev\nRunning get-method...\nSucceeded.\nResult: [\"125387107580525\"]\n```\n\n\n\n### 4.4.4. Run contract method locally for saved account BOC\n\n```bash\never-cli run [--boc] [--tvc] [--abi \u003ccontract.abi.json\u003e] \u003caccount\u003e \u003cmethod\u003e \u003cparams\u003e [--bc_config \u003cconfig_path\u003e] [--saved_config \u003cconfig_contract_path\u003e]\n```\n\n`\u003ccontract.abi.json\u003e` - contract interface file.\n\n`\u003caccount\u003e` - path to the file with account boc for flag `--boc` or account state init for flag `--tvc`\n(they can be obtained from the network with `account` command).\n\n`\u003cconfig_contract_path\u003e` - path to the file with saved config contract state. Is used for debug on fail.\n\n`\u003cmethod\u003e` - the method being called.\n\n`\u003cparams\u003e` - parameters of the called method.\n\n`--bc_config \u003cconfig_path\u003e` - this option can be used with `--boc` option to specify the file with the blockchain config\nBOC. It can be obtained with [dump blockchain config](#93-dump-blockchain-config) command.\n\nExample:\n\n```bash\n$ ever-cli run --boc tests/depool_acc.boc getData '{}' --abi tests/samples/fakeDepool.abi.json\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\n account: tests/depool_acc.boc\n  method: getData\n  params: {}\n     abi: tests/samples/fakeDepool.abi.json\nGenerating external inbound message...\nSucceeded.\nResult: {\n  \"stake\": \"65535\",\n  \"sender\": \"0:1e0739795a20263747ba659785a791fc2761295593a694f53116ab53439cc0a4\",\n  \"receiver\": \"0:0123456789012345012345678901234501234567890123450123456789012346\",\n  \"withdrawal\": \"172800\",\n  \"total\": \"172800\",\n  \"reinvest\": false,\n  \"value\": \"1000000000\"\n}\n\n$ ever-cli run --tvc tests/depool_acc.tvc getData '{}' --abi tests/samples/fakeDepool.abi.json\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\n account: tests/depool_acc.boc\n  method: getData\n  params: {}\n     abi: tests/samples/fakeDepool.abi.json\nGenerating external inbound message...\nSucceeded.\nResult: {\n  \"stake\": \"65535\",\n  \"sender\": \"0:1e0739795a20263747ba659785a791fc2761295593a694f53116ab53439cc0a4\",\n  \"receiver\": \"0:0123456789012345012345678901234501234567890123450123456789012346\",\n  \"withdrawal\": \"172800\",\n  \"total\": \"172800\",\n  \"reinvest\": false,\n  \"value\": \"1000000000\"\n}\n\n```\n\n## 4.5. Generate encrypted message offline\n\nAn internet connection is not required to create an encrypted message. Use the following command to do it:\n\n```bash\never-cli message [--raw] [--output \u003cpath_to_file\u003e] [--signature_id \u003cvalue\u003e] [--abi \u003ccontract.abi.json\u003e] [--sign \u003cseed_or_keyfile\u003e] \u003caddress\u003e \u003cmethod\u003e \u003cparams\u003e [--lifetime \u003cseconds\u003e]\n```\n\n`--raw` - use to create raw message boc.\n\n`--output \u003cpath_to_file\u003e` - specify path to file where the raw message should be written to, instead of printing it to terminal.\n\n`--signature_id \u003cvalue\u003e` - use this option to designate a specific signature_id for signing your message. For an automated online retrieval of the signature_id, set the `value` to `online`, which will fetch it from the network configuration. Alternatively, input a specific numerical value to facilitate offline message signing.\n\n`\u003ccontract.abi.json\u003e` - contract interface file.\n\n`\u003cseed_or_keyfile\u003e` - can either be the seed phrase or the corresponding key pair file. If seed phrase is used, enclose it in double quotes.\n\nExample:\n\n- `--sign \"flip uncover dish sense hazard smile gun mom vehicle chapter order enact\"`\n\nor\n\n- `--sign keyfile.json`\n\n`\u003caddress\u003e` - contract [address](#41-generate-contract-address).\n\n`\u003cmethod\u003e` - the method being called.\n\n`\u003cparams\u003e` - parameters of the called method.\n\n`lifetime` – message lifetime in seconds. Once this time elapses, the message will not be accepted by the contract.\n\nThe EVER-CLI utility displays encrypted message text and a QR code that also contains the message.Copy the message text or scan the QR code and broadcast the message online.\n\nExample (raw boc of create new multisig transaction message with a lifetime of 1 hour saved to file):\n\n```bash\n$ ever-cli message --raw --output message.boc --sign k1.keys.json --abi SafeMultisigWallet.abi.json 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc submitTransaction '{\"dest\":\"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\"value\":234000000,\"bounce\":false,\"allBalance\":false,\"payload\":\"\"}' --lifetime 3600\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n address: 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc\n  method: submitTransaction\n  params: {\"dest\":\"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\"value\":234000000,\"bounce\":false,\"allBalance\":false,\"payload\":\"\"}\n     abi: SafeMultisigWallet.abi.json\n    keys: k1.keys.json\nlifetime: 3600\n  output: message.boc\nGenerating external inbound message...\n\nMessageId: 59d698efe871cf9ffa8f6eb4c784b294538cd2223b4c876bb4e999a8edf8d410\nExpire at: Sat, 08 May 2021 16:42:03 +0300\nMessage saved to file message.boc\n```\n\n## 4.6. Broadcast previously generated message\n\nUse the following command to send a previously generated message, that is not in raw format, and not in a file:\n\n```bash\never-cli send [--abi \u003ccontract.abi.json\u003e] \"\u003cmessage_text\u003e\"\n```\n\n`\u003ccontract.abi.json\u003e` - contract interface file.\n\n`\u003cmessage_text\u003e` – the content of the message generated by the EVER-CLI utility during message creation. It should be enclosed in double quotes.\n\nExample:\n\n```bash\n$ ever-cli send --abi SafeMultisigWallet.abi.json \"7b226d7367223a7b226d6573736167655f6964223a2266363364666332623030373065626264386365643265333865373832386630343837326465643036303735376665373430376534393037646266663338626261222c226d657373616765223a227465366363674542424145413051414252596742534d553677767679593746624464704a365a5748706b4c7846304545726f4b4a36775165555369536633674d41514868757856507a324c5376534e663344454a2f374866653165562f5a78324d644e6b4b727770323865397a7538376a4d6e7275374c48685965367642523141756c48784b44446e4e62344f47686768386e6b6b7a48386775456e7551422f655a61324d326d32546539794234723636447a61364c34635258306f744a4b465661434177414141586c4d464e7077594a61616b524d64677332414341574f663459757151715976325233654e776d49655834517048686e37537a75624c76524838657931425a6a617a6a414141414141414141414141414141414a4d61735142414d4141413d3d222c22657870697265223a313632303438323730352c2261646472657373223a22303a61343632396436313764663933316438616438366564323466346361633364333231373838626130383235373431343466353832306632383934343933666263227d2c226d6574686f64223a227375626d69745472616e73616374696f6e227d\"\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n message: 7b226d7367223a7b226d6573736167655f6964223a2266363364666332623030373065626264386365643265333865373832386630343837326465643036303735376665373430376534393037646266663338626261222c226d657373616765223a227465366363674542424145413051414252596742534d553677767679593746624464704a365a5748706b4c7846304545726f4b4a36775165555369536633674d41514868757856507a324c5376534e663344454a2f374866653165562f5a78324d644e6b4b727770323865397a7538376a4d6e7275374c48685965367642523141756c48784b44446e4e62344f47686768386e6b6b7a48386775456e7551422f655a61324d326d32546539794234723636447a61364c34635258306f744a4b465661434177414141586c4d464e7077594a61616b524d64677332414341574f663459757151715976325233654e776d49655834517048686e37537a75624c76524838657931425a6a617a6a414141414141414141414141414141414a4d61735142414d4141413d3d222c22657870697265223a313632303438323730352c2261646472657373223a22303a61343632396436313764663933316438616438366564323466346361633364333231373838626130383235373431343466353832306632383934343933666263227d2c226d6574686f64223a227375626d69745472616e73616374696f6e227d\n     abi: SafeMultisigWallet.abi.json\nConnecting to net.evercloud.dev\n\nMessageId: f63dfc2b0070ebbd8ced2e38e7828f04872ded060757fe7407e4907dbff38bba\nExpire at: Sat, 08 May 2021 17:05:05 +0300\nCalling method submitTransaction with parameters:\n{\n  \"dest\": \"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\n  \"value\": \"1234000000\",\n  \"bounce\": false,\n  \"allBalance\": false,\n  \"payload\": \"te6ccgEBAQEAAgAAAA==\"\n}\nProcessing...\nProcessing...\nSucceded.\nResult: {\n  \"transId\": \"6959904904053506881\"\n}\n```\n\n## 4.7. Broadcast previously generated message from a file\n\nUse the following command to send a previously generated message, that is stored in a .boc file:\n\n```bash\never-cli sendfile \u003cpath_to_boc_file\u003e\n```\n\n`\u003cpath_to_boc_file\u003e` – path to the file where the message was saved.\n\nExample:\n\n```bash\n$ ever-cli sendfile /home/user/ton/message.boc\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n     boc: /home/user/ton/message.boc\nConnecting to net.evercloud.dev\nSending message to account 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc\nSucceded.\n```\n\n## 4.8. Decode commands\n\n### 4.8.1. Decode BOC file\n\nUse the following command to decode previously generated messages in .boc files.\n\n```bash\never-cli decode msg --abi \u003ccontract.abi.json\u003e \u003cpath_to_boc_file\u003e\n```\n\n`\u003ccontract.abi.json\u003e` - contract ABI file.\n\n`\u003cpath_to_boc_file\u003e` – path to the file where the message was saved.\n\nExample:\n\n```bash\n$ ever-cli decode msg --abi SafeMultisigWallet.abi.json /home/user/ton/message.boc\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n     msg: /home/user/ton/message.boc\n     abi: SafeMultisigWallet.abi.json\n \"Type\": \"external inbound message\",\n \"Header\": {\n   \"source\": \"\",\n   \"destination\": \"0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc\",\n   \"import_fee\": \"0\"\n },\n \"Body\": \"te6ccgEBAwEAqwAB4diOBnSVls3D8/zEb/Uj6hIfwKrdG2uRyCWmWx+mpFtdbaZNBcTW3yS3QiwLR8NgoqLcqoDsGwDA/RbrJLen+wXhJ7kAf3mWtjNptk3vcgeK+ug82ui+HEV9KLSShVWggMAAAF5S//FEWCWlSsTHYLNgAQFjn+GLqkKmL9kd3jcJiHl+EKR4Z+0s7my70R/HstQWY2s4wAAAAAAAAAAAAAAAAb5R0AQCAAA=\",\nsubmitTransaction: {\n  \"dest\": \"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\n  \"value\": \"234000000\",\n  \"bounce\": false,\n  \"allBalance\": false,\n  \"payload\": \"te6ccgEBAQEAAgAAAA==\"\n}\n```\n\n### 4.8.2. Decode message body\n\nUse the following command to decode previously generated message body (can be obtained by decoding message .boc file).\n\n```bash\never-cli decode body --abi \u003ccontract.abi.json\u003e \"\u003cmessage_body\u003e\"\n```\n\n`\u003ccontract.abi.json\u003e` - contract interface file.\n\n`\u003cmessage_body\u003e` - Message body encoded as base64.\n\n```bash\n$ ever-cli decode body --abi SafeMultisigWallet.abi.json \"te6ccgEBAwEAqwAB4diOBnSVls3D8/zEb/Uj6hIfwKrdG2uRyCWmWx+mpFtdbaZNBcTW3yS3QiwLR8NgoqLcqoDsGwDA/RbrJLen+wXhJ7kAf3mWtjNptk3vcgeK+ug82ui+HEV9KLSShVWggMAAAF5S//FEWCWlSsTHYLNgAQFjn+GLqkKmL9kd3jcJiHl+EKR4Z+0s7my70R/HstQWY2s4wAAAAAAAAAAAAAAAAb5R0AQCAAA=\"\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n    body: te6ccgEBAwEAqwAB4diOBnSVls3D8/zEb/Uj6hIfwKrdG2uRyCWmWx+mpFtdbaZNBcTW3yS3QiwLR8NgoqLcqoDsGwDA/RbrJLen+wXhJ7kAf3mWtjNptk3vcgeK+ug82ui+HEV9KLSShVWggMAAAF5S//FEWCWlSsTHYLNgAQFjn+GLqkKmL9kd3jcJiHl+EKR4Z+0s7my70R/HstQWY2s4wAAAAAAAAAAAAAAAAb5R0AQCAAA=\n     abi: SafeMultisigWallet.abi.json\nsubmitTransaction: {\n  \"dest\": \"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\n  \"value\": \"234000000\",\n  \"bounce\": false,\n  \"allBalance\": false,\n  \"payload\": \"te6ccgEBAQEAAgAAAA==\"\n}\n```\n\n### 4.8.3. Decode account commands\n\n#### 4.8.3.1. Decode account data fields\n\nUse the following command to decode data fields of the contract.\n\n```bash\never-cli decode account data --abi \u003ccontract.abi.json\u003e --addr \u003ccontract_address\u003e\never-cli decode account data --abi \u003ccontract.abi.json\u003e --tvc \u003ccontract_file\u003e\n```\n\n`\u003ccontract.abi.json\u003e` - contract interface file.\n\nContract address on blockchain or path to the file with contract's StateInit can be specified\nwith options `--addr` and `--tvc` respectively.\n\n```bash\n$ ever-cli decode account data --abi tests/test_abi_v2.1.abi.json --tvc tests/decode_fields.tvc\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\n     tvc: tests/decode_fields.tvc\n     abi: tests/test_abi_v2.1.abi.json\nTVC fields:\n{\n  \"__pubkey\": \"0xe8b1d839abe27b2abb9d4a2943a9143a9c7e2ae06799bd24dec1d7a8891ae5dd\",\n  \"__timestamp\": \"1626254942358\",\n  \"fun\": \"22\",\n  \"opt\": \"48656c6c6f\",\n  \"big\": {\n    \"value0\": \"0x0000000000000000000000000000000000000000000000000000000000000002\",\n    \"value1\": \"0x0000000000000000000000000000000000000000000000000000000000000008\",\n    \"value2\": \"0x0000000000000000000000000000000000000000000000000000000000000002\",\n    \"value3\": \"0x0000000000000000000000000000000000000000000000000000000000000000\"\n  },\n  \"a\": \"I like it.\",\n  \"b\": \"\",\n  \"length\": \"0x000000000000000000000000000000000000000000000000000000000000000f\"\n}\n```\n\n#### 4.8.3.2. Decode data from the account BOC file\n\nUse the following command to decode data from the file with BOC of the account and save\nStateInit to a separate file if needed.\n\n```bash\never-cli decode account boc \u003cboc_file\u003e [--dumptvc \u003ctvc_path\u003e]\n```\n\n`\u003cboc_file\u003e` - path to the file with BOC of the account. E.g. it can be obtained from\nthe TON Live.\n`--dumptvc \u003ctvc_path\u003e` - this flag can be specified to dump account StateInit to the \u003ctvc_path\u003e file.\n\n```bash\n$ ever-cli decode account boc tests/account.boc --dumptvc acc.tvc\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\n     boc: tests/account.boc\ntvc_path: acc.tvc\naddress:       0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13\nacc_type:      Active\nbalance:       908097175476967754\nlast_paid:     1626706323\nlast_trans_lt: 246923000003\ncode_hash:     4e92716de61d456e58f16e4e867e3e93a7548321eace86301b51c8b80ca6239b\nstate_init:\n split_depth: None\n special: None\n data: te6ccgEBAgEAUAABQZXAaqdD0fkADdZLdUmPEGr0t+dEQjTX3mfqJpiPYYHf4AEAU6AFqBJgJG7Ncw9arsqLrQ5Aoeenp6RgXcbQ7vUibecz0mAAAAAMHrI00A==\n code: te6ccgECFAEAA6EAAib/APSkICLAAZL0oOGK7VNYMPShAwEBCvSkIPShAgAAAgEgBgQB/P9/Ie1E0CDXScIBn9P/0wD0Bfhqf/hh+Gb4Yo4b9AVt+GpwAYBA9A7yvdcL//hicPhjcPhmf/hh4tMAAY4SgQIA1xgg+QFY+EIg+GX5EPKo3iP4QvhFIG6SMHDeuvLgZSHTP9MfNDH4IyEBvvK5IfkAIPhKgQEA9A4gkTHeswUATvLgZvgAIfhKIgFVAcjLP1mBAQD0Q/hqIwRfBNMfAfAB+EdukvI83gIBIAwHAgFYCwgBCbjomPxQCQH++EFujhLtRNDT/9MA9AX4an/4Yfhm+GLe0XBtbwL4SoEBAPSGlQHXCz9/k3BwcOKRII43IyMjbwJvIsgizwv/Ic8LPzExAW8iIaQDWYAg9ENvAjQi+EqBAQD0fJUB1ws/f5NwcHDiAjUzMehfA8iCEHdEx+KCEIAAAACxzwsfIQoAom8iAssf9ADIglhgAAAAAAAAAAAAAAAAzwtmgQOYIs8xAbmWcc9AIc8XlXHPQSHN4iDJcfsAWzDA/44S+ELIy//4Rs8LAPhKAfQAye1U3n/4ZwDFuRar5/8ILdHG3aiaBBrpOEAz+n/6YB6Avw1P/ww/DN8MUcN+gK2/DU4AMAgegd5XuuF//wxOHwxuHwzP/ww8W98I0l5Gcm4/DNxfABo/CFkZf/8I2eFgHwlAPoAZPaqP/wzwAgEgDw0B17sV75NfhBbo4S7UTQ0//TAPQF+Gp/+GH4Zvhi3vpA1w1/ldTR0NN/39cMAJXU0dDSAN/RIiIic8hxzwsBIs8KAHPPQCTPFiP6AoBpz0Byz0AgySL7AF8F+EqBAQD0hpUB1ws/f5NwcHDikSCA4Ako4t+CMiAbuf+EojASEBgQEA9FswMfhq3iL4SoEBAPR8lQHXCz9/k3BwcOICNTMx6F8DXwP4QsjL//hGzwsA+EoB9ADJ7VR/+GcCASAREADHuORhh18ILdHCXaiaGn/6YB6Avw1P/ww/DN8MW9qaPwhfCKQN0kYOG9deXAy/AB8IWRl//wjZ4WAfCUA+gBk9qp8B5B9ghBodo92qfgBGHwhZGX//CNnhYB8JQD6AGT2qj/8M8AIC2hMSAC2vhCyMv/+EbPCwD4SgH0AMntVPgP8gCAB1pwIccAnSLQc9ch1wsAwAGQkOLgIdcNH5LyPOFTEcAAkODBAyKCEP////28sZLyPOAB8AH4R26S8jzeg=\n lib:\n\n```\n\n### 4.8.4. Decode stateInit fields\n\nStateInit can be decoded for network account or file with account BOC or TVC.\n\n```bash\never-cli decode stateinit [--tvc] [--boc] \u003cinput\u003e\n```\n\n`\u003cinput\u003e` - depending on the flags this parameter should contain:\n- path to the file with account BOC if `--boc` flag is specified;\n- path to the TVC file if `--tvc` flag is specified;\n- contract network address otherwise.\n\n```bash\n$ ever-cli decode stateinit --boc account.boc\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\n   input: account.boc\nDecoded data:\n{\n  \"split_depth\": \"None\",\n  \"special\": \"None\",\n  \"data\": \"te6ccgEBAgEAkQABowWvkA5qHmFvsIUxqyOHGegsw+mhvvuZc5taNDPm+bI8AAABfFtnzLOAAAAAAAAAAEAMpbXqnWxVq2MH9mu2c3ABPAlgHxYzBcVVGea3KTKb6UgBAHOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO5rKAI\",\n  \"code\": \"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\",\n  \"code_hash\": \"82236b6062da156069b3cbf5020daf1a17b76869d676df216177fca950ab37df\",\n  \"data_hash\": \"7197d8544363ac2b2718240a84448584a675727ec8d42efd3726e82a4c8a3853\",\n  \"code_depth\": \"7\",\n  \"data_depth\": \"1\",\n  \"version\": \"sol 0.51.0\",\n  \"lib\":  \"\"\n}\n\n$ ever-cli decode stateinit --tvc fakeDepool.tvc\nConfig: default\nInput arguments:\n   input: fakeDepool.tvc\nDecoded data:\n{\n  \"split_depth\": \"None\",\n  \"special\": \"None\",\n  \"data\": \"te6ccgEBAgEAKAABAcABAEPQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAg\",\n  \"code\": \"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\",\n  \"code_hash\": \"82236b6062da156069b3cbf5020daf1a17b76869d676df216177fca950ab37df\",\n  \"data_hash\": \"55a703465a160dce20481375de2e5b830c841c2787303835eb5821d62d65ca9d\",\n  \"code_depth\": \"7\",\n  \"data_depth\": \"1\",\n  \"version\": \"sol 0.51.0\",\n  \"lib\":  \"\"\n}\n\n$ ever-cli decode stateinit 989439e29664a71e57a21bff0ff9896b5e58018fcac32e83fade913c4f43479e\nConfig: /home/user/ever-cli/ever-cli.conf.json\nInput arguments:\n   input: 989439e29664a71e57a21bff0ff9896b5e58018fcac32e83fade913c4f43479e\nConnecting to http://127.0.0.1/\nDecoded data:\n{\n  \"split_depth\": \"None\",\n  \"special\": \"None\",\n  \"data\": \"te6ccgEBAQEASwAAkWOlCuhADbJ3v+8vaQu9RUczWADX7uP05UFjmpt/sOAVAAABfF7iC8SAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMsA=\",\n  \"code\": \"te6ccgECDwEAAakABCSK7VMg4wMgwP/jAiDA/uMC8gsMAgEOApztRNDXScMB+GYh2zzTAAGOEoECANcYIPkBWPhCIPhl+RDyqN7TPwH4QyG58rQg+COBA+iogggbd0CgufK0+GPTHwH4I7zyudMfAds88jwFAwNK7UTQ10nDAfhmItDXCwOpOADcIccA4wIh1w0f8rwh4wMB2zzyPAsLAwM8IIIQJe+yCLrjAiCCEETv7Oy64wIgghBotV8/uuMCBwYEAkgw+EJu4wD4RvJz0fhC8uBl+EUgbpIwcN74Qrry4Gb4ANs88gAFCAFK7UTQ10nCAYqOGnDtRND0BXD4aoBA9A7yvdcL//hicPhjcPhq4goBUDDR2zz4SiGOHI0EcAAAAAAAAAAAAAAAADE7+zsgyM7L/8lw+wDe8gAKAygw+Eby4Ez4Qm7jANP/0ds82zzyAAoJCAAk+Er4Q/hCyMv/yz/Pg8v/ye1UACr4RSBukjBw3vhCuvLgZvgA+Eqg+GoAJu1E0NP/0z/TADHT/9H4avhj+GIACvhG8uBMAgr0pCD0oQ4NABRzb2wgMC41MS4wAAA=\",\n  \"code_hash\": \"d840258803b9d7472f2d959a5db7bb42d246f5e8f0dc6a94bb459ebb730a0e01\",\n  \"data_hash\": \"0ea45bfc864790ee1d66301059fa2cbdaba7a75e9e4f4bc1d2fbffd8401ee798\",\n  \"code_depth\": \"5\",\n  \"data_depth\": \"0\",\n  \"version\": \"sol 0.51.0\",\n  \"lib\":  \"\"\n}\n```\n\n## 4.9. Generate payload for internal function call\n\nUse the following command to generate payload for internal function call:\n\n```bash\never-cli body [--abi \u003ccontract.abi.json\u003e] \u003cmethod\u003e \u003cparams\u003e\n```\n\n`\u003ccontract.abi.json\u003e` - contract interface file.\n\n`\u003cmethod\u003e` - the method being called.\n\n`\u003cparams\u003e` - parameters of the called method.\n\nExample:\n\n```bash\n$ ever-cli body submitTransaction '{\"dest\":\"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\"value\":234000000,\"bounce\":false,\"allBalance\":false,\"payload\":\"\"}' --abi SetcodeMultisigWallet.abi.json\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n  method: submitTransaction\n  params: {\"dest\":\"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6\",\"value\":234000000,\"bounce\":false,\"allBalance\":false,\"payload\":\"\"}\n     abi: SetcodeMultisigWallet.abi.json\n  output: None\nMessage body: te6ccgEBAgEAOwABaxMdgs2f4YuqQqYv2R3eNwmIeX4QpHhn7SzubLvRH8ey1BZjazjAAAAAAAAAAAAAAAABvlHQBAEAAA==\n```\n\n## 4.10. Alternative syntax for call, deploy and run commands\n\nTo facilitate usage of ever-cli use commands `callx`, `runx` and `deployx` instead of `call`, `run` and `deploy`.\nThese alternative syntax commands have almost the same syntax as classic, but allow to specify address, abi and keys\noptions in the config file. Also, this commands allow to skip params option if command doesn't need it.\nExamples:\n\n```bash\n# specify options manually\never-cli callx --keys giver.key --abi giver.abi.json --addr 0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 -m sendGrams --dest 841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 --amount 1000000000\n\n# options are taken from the config\never-cli config --abi giver.abi.json --addr 0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 --keys giver.key\never-cli callx -m sendGrams --dest 841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 --amount 1000000000\n\n# if contract function or constructor doesn't take arguments, parameters can be skipped\never-cli deployx contract.tvc\never-cli runx -m getParameters\n\n# method and parameters can be specified in config\never-cli config --method add --parameters '{\"value\":1}' --addr 0:41af055743c85ba58fcaead78fa45b017f265c9351b5275ad76bf58be11760fd --abi ../samples/1_Accumulator.abi.json --keys keys/key0\never-cli callx\never-cli config --method sum --parameters '{}'\never-cli runx\n```\n\nIf some parameters have names equal to options, use can tell the ever-cli that you have started mentioning parameters\nby using empty `--`. Examples:\n\n```bash\n# abi, addr, keys and method are specified as options and after `--` they are specified again as arguments.\never-cli callx --abi arguments.abi.json --addr 0:62c2040f7f7406732037c1856e91732be3f9907b94fb34f53ba664ba94b228f6 --keys argument.key --method add -- --addr 2 --keys 3 --abi 4 --method 5\n# abi, addr, key and method are specified as arguments because `--` is specified in the beginning. Abi, addr, keys and method options are taken from the config.\never-cli callx -- --addr 2 --keys 3 --abi 4 --method 5\n```\n\n# 5. DeBot commands\n\nEVER-CLI has a built-in DeBot \u003clink to DeBots repo\u003e browser, which is regularly updated with the most recent versions of DEngine \u003clink to DEngine\u003e.\n\nTo call a DeBot, use the following command:\n\n```bash\never-cli debot fetch \u003c--debug\u003e \u003cdebot_address\u003e\n```\n\n`\u003cdebot_address\u003e` - address of the DeBot contract.\n\n`\u003c--debug\u003e` - runs DeBot in verbose mode.\n\nExample:\n\n```bash\n$ ever-cli debot fetch 0:09403116d2d04f3d86ab2de138b390f6ec1b0bc02363dbf006953946e807051e\nConfig: /home/user/ever-cli.conf.json\nConnecting to net.evercloud.dev\nDeBot Info:\nName   : Multisig\nVersion: 1.2.0\nAuthor : EverX\nPublisher: EverX\nSupport: 0:66e01d6df5a8d7677d9ab2daf7f258f1e2a7fe73da5320300395f99e01dc3b5f\nDescription: DeBot for multisig wallets\nHi, I will help you work with multisig wallets that can have multiple custodians.\nRun the DeBot (y/n)?\ny\n\nWhich wallet do you want to work with?\n```\n\nFurther input depends on the DeBot, which usually explains any actions it offers you to perform.\n\n# 6. Multisig commands\n\nMultisig commands allow you to work with any existing Multisig wallets \u003clink to repo\u003e in a more convenient way and with\nno need of ABI files.\n\n## 6.1. Send tokens\n\nUse the following command to send tokens to any recipient:\n\n```bash\never-cli multisig send --addr \u003csender_address\u003e --dest \u003crecipient_address\u003e --purpose \u003c\"text_in_quotes\"\u003e --sign \u003cpath_to_keys_or_seed_phrase\u003e --value *number* [--v2]\n```\n\n`\u003csender_address\u003e` - address of the multisig wallet that tokens are sent from.\n\n`\u003crecipient_address\u003e` - address of the account tokens are sent to.\n\n`\u003c\"text_in_quotes\"\u003e` - accompanying message. Only the recipient will be able to decrypt and read it.\n\n`\u003cpath_to_keys_or_seed_phrase\u003e` - path to sender wallet key file or the corresponding seed phrase in quotes.\n\n`--value *number*` - value to be transferred (in tokens).\n\n`--v2` - optional flag, force to interpret wallet as multisig v2.\n\nExample:\n\n```bash\n$ ever-cli multisig send --addr 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --dest 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc --purpose \"test transaction\" --sign key.json --value 6\nConfig: /home/user/ever-cli.conf.json\nConnecting to net.evercloud.dev\nGenerating external inbound message...\n\nMessageId: 62b1420ac98e586f29bf79bc2917a0981bb3f15c4757e8dca65370c19146e327\nExpire at: Thu, 13 May 2021 13:26:06 +0300\nProcessing...\nSucceeded.\nResult: {\n  \"transId\": \"0\"\n}.\n```\n\n# 6.2. Deploy wallet\n\nUse the following command to deploy a multisignature wallet:\n\n```bash\never-cli multisig deploy [--setcode] [--v2] [--owners \u003cowners_list\u003e] [--confirms \u003cconfirms_cnt\u003e] [--local \u003clocal_giver_value\u003e] --keys \u003cpath_to_keys_or_seed_phrase\u003e\n```\n\n`--setcode` - flag that changes type of the wallet to the SetcodeMultisigWallet. If not specified, a SafeMultisigWallet is deployed.\n\n`--owners \u003cowners_list\u003e` - option that sets wallet owners. If not specified, the only owner is the key deployment message was signed with (set with --keys option).\nList of owners must be specified by their public keys in hex format, split by the `,`.\n\n`--confirms \u003cconfirms_cnt\u003e` - option that sets required number of confirmations. If not specified, is set to 1.\n\n`--local \u003clocal_giver_value\u003e` - value that should be transferred from the local giver if wallet is deployed onto the Node SE (in nanotons).\n\n`--keys \u003cpath_to_keys_or_seed_phrase\u003e` - path to the wallet key file or the corresponding seed phrase in quotes.\n\n`--v2` - optional flag, force to deploy multisig v2.\n\n\nExample:\n\n```bash\n$ ever-cli multisig deploy -k \"young tell target alter sport dignity enforce improve pottery fashion alert genuine\" --local 1_000_000_000\nConfig: /home/user/ever-cli/ever-cli.conf.json\nWallet address: 0:4d892e63989c1c0ad64b0bbe22e8d036b0da271c19b6686d01bd29a99dcbc86d\nConnecting to http://127.0.0.1/\nExpire at: Mon, 13 Sep 2021 14:55:29 +0300\nMessageId: 3c3537e36e2a4a4018b7463db2bf57efad5dc0dc0233b040c2f5e165cb43e887\nMessageId: 8102067efc190b2e728d91d632c985634fc4717b7ae1137a4bbcf756c4cf8705\nWallet successfully deployed\nWallet address: 0:4d892e63989c1c0ad64b0bbe22e8d036b0da271c19b6686d01bd29a99dcbc86d\n\n# deploy with owners\never-cli multisig deploy -l 5000000000 -c 2 -o 8b445b0feab10b9abf4e039d649348ec8662e3673fe9c37b7208c4d9d04c9b3f,ddc5bc7198c90feb75d9ce09e1b1f25a7e14a252fef31b50fac048c6ac3ee46c -k test.key\n```\n\n# 7. DePool commands\n\n## 7.1. Configure EVER-CLI for DePool operations\n\nFor all commands listed below, the DePool address, the wallet making the stake, the amount of fee to pay for DePool's\nservices and the path to the keyfile/seed phrase may be specified in the EVER-CLI config file in advance:\n\n```bash\never-cli config --addr \u003caddress\u003e --wallet \u003caddress\u003e --no-answer true | false --keys \u003cpath_to_keys or seed_phrase\u003e --depool_fee \u003cdepool_fee\u003e\n```\n\n`--addr \u003caddress\u003e` - the address of the DePool\n\n`--wallet \u003caddress\u003e` - the address of the wallet making the stake\n\n`--no-answer true | false` - no-answer flag, which determines, whether EVER-CLI waits for DePool answer when performing various actions and prints it out, or simply generates and sends a transaction through the specified multisig wallet, without monitoring transaction results in the DePool. By default, is set to `true`. Setting to false can be useful for catching rejected stakes or other errors on the DePool side.\n\n`\u003cpath_to_keys or seed_phrase\u003e` - either the keyfile for the wallet making the stake, or the seed phrase in quotes\n\n`--depool_fee \u003cdepool_fee\u003e` - value in tons, that is additionally attached to the message sent to the DePool to cover its fees. Change is returned to the sender. The default value, used if this option isn't configured, is 0.5 tons. It should be increased only if it proves insufficient and DePool begins to run out of gas on execution.\n\nExample:\n\n```bash\never-cli config --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --no-answer false --keys \"dizzy modify exotic daring gloom rival pipe disagree again film neck fuel\" --depool_fee 0.8\n```\n\nIn this case all DePool commands allow to omit `--addr`, `--wallet`, `--wait-answer` and `--sign` options.\n\nBelow is an example of similar DePool commands with and without waiting for DePool answer.\n\nWith waiting for DePool answer:\n\n```bash\n$ ever-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf stake ordinary --value 25 --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json --wait-answer\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n  depool: 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf\n  wallet: 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3\n   stake: 25\n    keys: key.json\nConnecting to https://net.evercloud.dev\nGenerating external inbound message...\n\nMessageId: bf3cfc02dd8eff3edbd7a70e63ce3e91e61340676bf46c43cf534ccbebc9865a\nExpire at: unknown\nMultisig message processing...\n\nMessage was successfully sent to the multisig, waiting for message to be sent to the depool...\n\nRequest was successfully sent to depool.\n\nWaiting for depool answer...\n\nAnswer:\nId: 453c03c3ad4985330237ed16998e3f7a5b6936c717b2aac753967fd9c03f2926\nValue: 25.489215000\nCreated at: 1620907654 (2021-05-13 12:07:34.000)\nDecoded body:\nreceiveAnswer {\"errcode\":\"1\",\"comment\":\"100000000000\"}\n\nAnswer status: STAKE_TOO_SMALL\nComment: 100000000000\n\nDone\n```\n\nSame command without waiting for DePool answer:\n\n```bash\n$ ever-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf stake ordinary --value 25 --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json\nConfig: /home/user/ever-cli.conf.json\nInput arguments:\n  depool: 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf\n  wallet: 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3\n   stake: 25\n    keys: key.json\nConnecting to https://net.evercloud.dev\nGenerating external inbound message...\n\nMessageId: e1b0aba39233e07daf6a65c2426e273e9d68a75e3b440893251fbce56c6a756d\nExpire at: Thu, 13 May 2021 15:09:43 +0300\nProcessing...\nSucceeded.\nResult: {\n  \"transId\": \"0\"\n}\n```\n\nIn both cases the stake is rejected for being too small, but with `no-answer` set to `false` it isn't immediately\napparent, as only the results of the sussecful multisig transaction are displayed.\n\n## 7.2. Deposit stakes\n\n### 7.2.1. Ordinary stake\n\nOrdinary stake is the most basic type of stake. It and the rewards from it belong to the wallet that made it.\n\nIt is invested completely in the current pooling round, and can be reinvested every second round (as odd and even rounds\nare handled by DePool separately). Thus, to participate in every DePool round, an ordinary stake should be invested in\ntwo consecutive rounds, so it can later be reinvested in odd and even rounds both.\n\nOrdinary stake must exceed DePool minimum stake. Check DePool's page on [ton.live](https://ton.live/dePools) to find out\nthe minimum stake.\n\n```bash\never-cli depool [--addr \u003cdepool_address\u003e] stake ordinary [--wallet \u003cmsig_address\u003e] --value \u003cnumber\u003e [--sign \u003ckey_file or seed_phrase\u003e] [--wait-answer] [--v2]\n```\n\n`\u003cdepool_address\u003e` - address of the DePool contract.\n\n`\u003cmsig_address\u003e` - address of the wallet making a stake.\n\nall --value parameters must be defined in tons, like this: `--value 10.5`, which means the value is 10,5 tons.\n\n`\u003ckey_file or seed_phrase\u003e` - either the keyfile for the wallet making the stake, or the seed phrase in quotes.\n\n`--wait-answer` - optional flag, which forces EVER-CLI to wait for DePool answer when performing the action and print out the resulting message. Without it only the results of the multisig transaction to DePool will be displayed.\n\n`--v2` - optional flag, force to interpret wallet as multisig v2.\n\nExample:\n\n```bash\never-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace stake ordinary --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --value 100.5 --sign \"dizzy modify exotic daring gloom rival pipe disagree again film neck fuel\"\n```\n\n### 7.2.2. Vesting stake\n\nA wallet can make a vesting stake and define a target participant address (beneficiary) who will own this stake,\nprovided the beneficiary has previously indicated the donor as its vesting donor address. This condition prevents\nunauthorized vestings from blocking the beneficiary from receiving an expected vesting stake from a known address.\n\n**To receive a vesting stake beneficiary must**:\n\n- already have an ordinary stake of any amount in the DePool\n- set the donor address with the following command:\n\n```bash\never-cli depool [--addr \u003cdepool_address\u003e] donor vesting [--wallet \u003cbeneficiary_address\u003e] --donor \u003cdonor_address\u003e [--sign \u003ckey_file or seed_phrase\u003e] [--wait-answer] [--v2]\n```\n\n`\u003cdepool_address\u003e` - address of the DePool contract.\n\n`\u003cbeneficiary_address\u003e` - address of the beneficiary wallet .\n\n`\u003cdonor_address\u003e` - address of the donor wallet.\n\n`\u003ckey_file or seed_phrase\u003e` - either the keyfile for the beneficiary wallet, or the seed phrase in quotes.\n\n`--wait-answer` - optional flag, which forces EVER-CLI to wait for DePool answer when performing the action and print out the resulting message. Without it only the results of the multisig transaction to DePool will be displayed.\n\n`--v2` - optional flag, force to interpret wallet as multisig v2.\n\nExample:\n\n```bash\never-cli depool --addr 0:3187b4d738d69776948ca8543cb7d250c042d7aad1e0aa244d247531590b9147 donor vesting --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --donor 0:279afdbd7b2cbf9e65a5d204635a8630aec2baec60916ffdc9c79a09d2d2893d --sign \"deal hazard oak major glory meat robust teach crush plastic point edge\"\n```\n\nNot the whole stake is available to the beneficiary at once. Instead, it is split into parts and the next part of stake\nbecomes available to the beneficiary (is transformed into beneficiary's ordinary stake) at the end of the round that\ncoincides with the end of the next withdrawal period. Rewards from vesting stake are always added to the beneficiary's\nordinary stake. To withdraw these funds, beneficiary should use one of the [withdrawal functions](#75-withdraw-stakes).\n\nPlease note, that the vesting stake is split into two equal parts by the DePool, to be used in both odd and even rounds,\nso to ensure DePool can participate in elections with just one vesting stake where validator wallet is beneficiary, the\nstake should exceed `validatorAssurance` *2. Similarly, to ensure any vesting stake is accepted, make sure it exceeds\n`minStake` *2.\n\n**Donor uses the following command to make a vesting stake:**\n\n```bash\never-cli depool [--addr \u003cdepool_address\u003e] stake vesting [--wallet \u003cmsig_address\u003e] --value \u003cnumber\u003e --total \u003cdays\u003e --withdrawal \u003cdays\u003e --beneficiary \u003caddress\u003e [--sign \u003ckey_file or seed_phrase\u003e] [--wait-answer] [--v2]\n```\n\nWhere\n\n`\u003cdepool_address\u003e` - address of the DePool contract.\n\n`\u003cmsig_address\u003e` - address of the donor wallet making a stake.\n\nall `--value` parameters must be defined in tons, like this: `--value 10.5`, which means the value is 10,5 tons.\n\n`total \u003cdays\u003e` - total period, for which the stake is made.\n\n`withdrawal \u003cdays\u003e` - withdrawal period (each time a withdrawal period ends, a portion of the stake is released to the beneficiary).\n\n\u003e There are limitations for period settings: withdrawalPeriod should be \u003c= totalPeriod, totalPeriod cannot exceed 18 years or be \u003c=0, totalPeriod should be exactly divisible by withdrawalPeriod.\n\n`beneficiary \u003caddress\u003e` - address of the beneficiary (wallet that will receive rewards from the stake and, in parts over time, the vesting stake itself). Cannot be the same as the wallet making the stake.\n\n`\u003ckey_file or seed_phrase\u003e` - either the keyfile for the donor wallet making the stake, or the seed phrase in quotes.\n\n`--wait-answer` - optional flag, which forces EVER-CLI to wait for DePool answer when performing the action and print out the resulting message. Without it only the results of the multisig transaction to DePool will be displayed.\n\n`--v2` - optional flag, force to interpret wallet as multisig v2.\n\nExample:\n\n```bash\never-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace stake vesting --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --value 1000 --total 360 --withdrawal 30 --beneficiary 0:f22e02a1240dd4b5201f8740c38f2baf5afac3cedf8f97f3bd7cbaf23c7261e3 --sign \"dizzy modify exotic daring gloom rival pipe disagree again film neck fuel\"\n```\n\n\u003e Note: Each participant can concurrently be the beneficiary of only one vesting stake. Once the current vesting stake expires, another can be made for the participant.\n\n### 7.2.3. Lock stake\n\nA wallet can make a lock stake, in which it locks its funds in DePool for a defined period, but rewards from this stake\nwill be paid to another target participant (beneficiary). As with vesting, the beneficiary has to indicate the donor as\nits lock donor address before receiving a lock stake. This condition prevents unauthorized lock stakes from blocking the\nbeneficiary from receiving an expected lock stake from a known address.\n\n**To receive a lock stake beneficiary must**:\n\n- already have an ordinary stake of any amount in the DePool\n- set the donor address with the following command:\n\n```bash\never-cli depool [--addr \u003cdepool_address\u003e] donor lock [--wallet \u003cbeneficiary_address\u003e] --donor \u003cdonor_address\u003e [--sign \u003ckey_file or seed_phrase\u003e] [--wait-answer] [--v2]\n```\n\nWhere\n\n`\u003cdepool_address\u003e` - address of the DePool contract.\n\n`\u003cbeneficiary_address\u003e` - address of the beneficiary wallet .\n\n`\u003cdonor_address\u003e` - address of the donor wallet.\n\n`\u003ckey_file or seed_phrase\u003e` - either the keyfile for the beneficiary wallet, or the seed phrase in quotes.\n\n`--wait-answer` - optional flag, which forces EVER-CLI to wait for DePool answer when performing the action and print out the resulting message. Without it only the results of the multisig transaction to DePool will be displayed.\n\n`--v2` - optional flag, force to interpret wallet as multisig v2.\n\nExample:\n\n```bash\never-cli depool --addr 0:3187b4d738d69776948ca8543cb7d250c042d7aad1e0aa244d247531590b9147 donor lock --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --donor 0:279afdbd7b2cbf9e65a5d204635a8630aec2baec60916ffdc9c79a09d2d2893d --sign \"deal hazard oak major glory meat robust teach crush plastic point edge\"\n```\n\nLike vesting stake, lock stake can be configured to be unlocked in parts at the end of each round that coincides with\nthe end of the next withdrawal period. At the end of each period the Lock Stake is returned to the wallet which locked\nit. The rewards of a lock stake are always added to the ordinary stake of the beneficiary. To withdraw these funds,\nbeneficiary should use one of the [withdrawal functions](#75-withdraw-stakes).\n\nPlease note that the lock stake is split into two equal parts by the DePool, to be used in both odd and even rounds, so\nto ensure DePool can participate in elections with just one lock stake where validator wallet is beneficiary, the stake\nshould equal `validatorAssurance` *2. Similarly, to ensure any vesting stake is accepted, make sure it exceeds\n`minStake` *2.\n\n**Donor uses the following command to make a lock stake:**\n\n```bash\never-cli depool [--addr \u003cdepool_address\u003e] stake lock [--wallet \u003cmsig_address\u003e] --value \u003cnumber\u003e --total \u003cdays\u003e --withdrawal \u003cdays\u003e --beneficiary \u003caddress\u003e [--sign \u003ckey_file or seed_phrase\u003e] [--wait-answer] [--v2]\n```\n\nWhere\n\n`\u003cdepool_address\u003e` - address of the DePool contract.\n\n`\u003cmsig_address\u003e` - address of the donor wallet making a stake.\n\nall `--value` parameters must be defined in tons, like this: `--value 10.5`, which means the value is 10,5 tons.\n\n`total \u003cdays\u003e` - total period, for which the stake is made.\n\n`withdrawal \u003cdays\u003e` - withdrawal period (each time a withdrawal period ends, a portion of the stake is returned to the wallet that made the stake).\n\n\u003e There are limitations for period settings: withdrawalPeriod should be \u003c= totalPeriod, totalPeriod cannot exceed 18 years or be \u003c=0, totalPeriod should be exactly divisible by withdrawalPeriod.\n\n`beneficiary \u003caddress\u003e`address of the beneficiary (wallet that will receive rewards from the stake). Cannot be the same as the wallet making the stake.\n\n`key_file or seed_phrase` - either the keyfile for the donor wallet making the stake, or the seed phrase in quotes.\n\n`--wait-answer` - optional flag, which forces EVER-CLI to wait for DePool answer when performing the action and print out the resulting message. Without it only the results of the multisig transaction to DePool will be displayed.\n\n`--v2` - optional flag, force to interpret wallet as multisig v2.\n\nExample:\n\n```bash\never-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace stake lock --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --value 1000 --total 360 --withdrawal 30 --beneficiary 0:f22e02a1240dd4b5201f8740c38f2baf5afac3cedf8f97f3bd7cbaf23c7261e3 --sign \"dizzy modify exotic daring gloom rival pipe disagree again film neck fuel\"\n```\n\n\u003e Note: Each participant can concurrently be the beneficiary of only one lock stake. Once the current lock stake expires, another can be made for the participant.\n\n## 7.3. Remove stakes\n\nThis command removes an ordinary stake from a pooling round (while it has not been staked in the Elector yet):\n\n```bash\never-cli depool [--addr \u003cdepool_address\u003e] stake remove [--wallet \u003cmsig_address\u003e] --value \u003cnumber\u003e [--sign \u003ckey_file or seed_phrase\u003e] [--wait-answer] [--v2]\n```\n\nWhere\n\n`\u003cdepool_address\u003e` - address of the DePool contract.\n\n`\u003cmsig_address\u003e` - address of the wallet that made the stake.\n\nall `--value` parameters must be defined in tons, like this: `--value 10.5`, which means the value is 10,5 tons.\n\n`\u003ckey_file or seed_phrase\u003e` - either the keyfile for the wallet making the stake, or the seed phrase in quotes.\n\n`--wait-answer` - optional flag, which forces EVER-CLI to wait for DePool answer when performing the action and print out the resulting message. Without it only the results of the multisig transaction to DePool will be displayed.\n\n`--v2` - optional flag, force to interpret wallet as multisig v2.\n\nExample:\n\n```bash\never-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace stake remove --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --value 100 --sign \"dizzy modify exotic daring gloom rival pipe disagree again film neck fuel\"\n```\n\n## 7.4. Transfer stakes\n\nThe following command assigns an existing ordinary stake or its part to another participant wallet. If the entirety of\nthe stake is transferred, the transferring wallet is removed from the list of participants in the DePool. If the\nreceiving wallet isn't listed among the participants, it will become a participant as the result of the command.\n\n```bash\never-cli depool [--addr \u003cdepool_address\u003e] stake transfer [--wallet \u003cmsig_address\u003e] --value \u003cnumber\u003e --dest \u003caddress\u003e [--sign \u003ckey_file or seed_phrase\u003e] [--wait-answer] [--v2]\n```\n\nWhere\n\n`\u003cdepool_address\u003e` - address of the DePool contract.\n\n`\u003cmsig_address\u003e` - address of the wallet that made the stake.\n\nall `--value` parameters must be defined in tons, like this: `--value 10.5`, which means the value is 10,5 tons.\n\n`dest \u003caddress\u003e` - address of the new owner of the stake.\n\n`\u003ckey_file or seed_phrase\u003e` - either the keyfile for the wallet making the stake, or the seed phrase in quotes.\n\n`--wait-answer` - optional flag, which forces EVER-CLI to w","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverx-labs%2Fever-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feverx-labs%2Fever-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverx-labs%2Fever-cli/lists"}