diff --git a/.gitignore b/.gitignore index 5e6ca74f..660cca43 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ target .vscode .solc_imports -/tonlabs-cli.conf.json -/tonos-cli.conf.json +/everx-labs-cli.conf.json +/ever-cli.conf.json /call.boc /key1 /tests/data.tvc diff --git a/CHANGELOG.md b/CHANGELOG.md index fbd214b2..332e8913 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ All notable changes to this project will be documented in this file. ## 0.36.0 - - Supported [ABI 2.4](https://github.com/tonlabs/ever-abi/blob/master/CHANGELOG.md#version-240) + - Supported [ABI 2.4](https://github.com/everx-labs/ever-abi/blob/master/CHANGELOG.md#version-240) ## 0.35.7 @@ -69,7 +69,7 @@ All notable changes to this project will be documented in this file. ## Version: 0.29.1 ### New -- Added [sold](https://github.com/tonlabs/TON-Solidity-Compiler/tree/master/sold) functionality as feature; +- Added [sold](https://github.com/everx-labs/TON-Solidity-Compiler/tree/master/sold) functionality as feature; - Improved behavior of the `decode msg` command. Now it doesn't require `--base64` flag to decode base64 input. It can also decode message by id in the blockchain and decode files with messages not in binary but with text in base64; - Changed `debug transaction` and `debug account` commands flag `--empty_config` to `--default_config` which uses @@ -90,9 +90,9 @@ All notable changes to this project will be documented in this file. ### New - Updated version of SDK; - - Added global tonos-cli config which is used to create default configs; + - Added global ever-cli config which is used to create default configs; - Added config parameters for Evercloud authentication; - - Added new input format for `tonos-cli decode message` command. + - Added new input format for `ever-cli decode message` command. ## Version: 0.27.33 diff --git a/Cargo.lock b/Cargo.lock index 4e0d4350..3d1e787c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -26,7 +26,7 @@ dependencies = [ "cfg-if", "cipher 0.3.0", "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug", ] [[package]] @@ -48,7 +48,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be14c7498ea50828a38d0e24a765ed2effe92a705885b57d029cd67d45744072" dependencies = [ "cipher 0.2.5", - "opaque-debug 0.3.0", + "opaque-debug", ] [[package]] @@ -58,25 +58,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea2e11f5e94c2f7d386164cc2aa1f97823fed6f259e486940a71c174dd01b0ce" dependencies = [ "cipher 0.2.5", - "opaque-debug 0.3.0", + "opaque-debug", ] [[package]] name = "ahash" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.14", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.7" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "once_cell", @@ -86,9 +86,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] @@ -119,9 +119,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.5" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" +checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" dependencies = [ "anstyle", "anstyle-parse", @@ -133,9 +133,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "anstyle-parse" @@ -167,14 +167,14 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.79" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" +checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" [[package]] name = "api_derive" version = "1.45.1" -source = "git+https://github.com/tonlabs/ever-sdk.git?tag=1.45.1#1815d2632f88760beaad9394761cb9111c9787d8" +source = "git+https://github.com/everx-labs/ever-sdk.git?tag=1.45.1#b1a003b1e923e8b529f3af3c21a0ade032de09bf" dependencies = [ "api_info", "proc-macro2", @@ -186,7 +186,7 @@ dependencies = [ [[package]] name = "api_info" version = "1.45.1" -source = "git+https://github.com/tonlabs/ever-sdk.git?tag=1.45.1#1815d2632f88760beaad9394761cb9111c9787d8" +source = "git+https://github.com/everx-labs/ever-sdk.git?tag=1.45.1#b1a003b1e923e8b529f3af3c21a0ade032de09bf" dependencies = [ "serde", "serde_derive", @@ -207,14 +207,14 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "assert_cmd" -version = "2.0.12" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88903cb14723e4d4003335bb7f8a14f27691649105346a0f0957466c096adfe6" +checksum = "ed72493ac66d5804837f480ab3766c72bdfab91a65e565fc54fa9e42db0073a8" dependencies = [ "anstyle", - "bstr 1.9.0", + "bstr 1.9.1", "doc-comment", - "predicates 3.0.4", + "predicates 3.1.0", "predicates-core", "predicates-tree", "wait-timeout", @@ -222,13 +222,13 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.77" +version = "0.1.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -244,15 +244,15 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" dependencies = [ "addr2line", "cc", @@ -292,9 +292,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.6" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c79fed4cdb43e993fcdadc7e58a09fd0e3e649c4436fa11da71c9f1f3ee7feb9" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64ct" @@ -319,9 +319,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" [[package]] name = "blake2b_simd" @@ -334,25 +334,13 @@ dependencies = [ "constant_time_eq", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding 0.1.5", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -361,7 +349,7 @@ version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -370,19 +358,10 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2cb03d1bed155d89dce0f845b7899b18a9a163e148fd004e1c28421a783e2d8e" dependencies = [ - "block-padding 0.2.1", + "block-padding", "cipher 0.3.0", ] -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - [[package]] name = "block-padding" version = "0.2.1" @@ -412,9 +391,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.9.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc" +checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" dependencies = [ "memchr", "regex-automata", @@ -429,15 +408,9 @@ checksum = "b4ae4235e6dac0694637c763029ecea1a2ec9e4e06ec2729bd21ba4d9c863eb7" [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" - -[[package]] -name = "byte-tools" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byteorder" @@ -447,15 +420,15 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "cc" -version = "1.0.83" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +checksum = "17f6e324229dc011159fcc089755d1e2e216a90d43a7dea6853ca740b84f35e7" dependencies = [ "jobserver", "libc", @@ -484,16 +457,16 @@ checksum = "17cc5e6b5ab06331c33589842070416baa137e8b0eb912b008cfd4a78ada7919" [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.48.5", + "windows-targets 0.52.5", ] [[package]] @@ -502,7 +475,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -511,7 +484,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -531,9 +504,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.14" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e92c5c1a78c62968ec57dbc2440366a2d6e5a23faf829970ff1585dc6b18e2" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" dependencies = [ "clap_builder", "clap_derive", @@ -541,33 +514,33 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.14" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4323769dc8a61e2c39ad7dc26f6f2800524691a44d74fe3d1071a5c24db6370" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", "clap_lex", - "strsim 0.10.0", + "strsim 0.11.1", ] [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "cmake" @@ -610,9 +583,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "cookie" -version = "0.16.2" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" +checksum = "7efb37c3e1ccb1ff97164ad95ac1606e8ccd35b3fa0a7d99a304c7f4a428cc24" dependencies = [ "percent-encoding", "time", @@ -621,12 +594,12 @@ dependencies = [ [[package]] name = "cookie_store" -version = "0.16.2" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d606d0fba62e13cf04db20536c05cb7f13673c161cb47a47a82b9b9e7d3f1daa" +checksum = "387461abbc748185c3a6e1673d826918b450b87ff22639429c694619a83b6cf6" dependencies = [ "cookie", - "idna 0.2.3", + "idna 0.3.0", "log", "publicsuffix", "serde", @@ -672,9 +645,9 @@ dependencies = [ [[package]] name = "crc" -version = "3.0.1" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86ec7a15cbe22e59248fc7eadb1907dab5ba09372595da4d73dd805ed4417dfe" +checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" dependencies = [ "crc-catalog", ] @@ -728,7 +701,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array 0.14.7", + "generic-array", "typenum", ] @@ -738,7 +711,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ - "generic-array 0.14.7", + "generic-array", "subtle", ] @@ -748,7 +721,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" dependencies = [ - "generic-array 0.14.7", + "generic-array", "subtle", ] @@ -776,9 +749,9 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.1" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" dependencies = [ "cfg-if", "cpufeatures", @@ -799,14 +772,14 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "der" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid", "zeroize", @@ -836,22 +809,13 @@ dependencies = [ "ansi_term", ] -[[package]] -name = "digest" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" -dependencies = [ - "generic-array 0.12.4", -] - [[package]] name = "digest" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -922,11 +886,11 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519 2.2.3", "rand_core 0.6.4", "serde", @@ -937,9 +901,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" [[package]] name = "encode_unicode" @@ -949,9 +913,9 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" [[package]] name = "encoding_rs" -version = "0.8.33" +version = "0.8.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" dependencies = [ "cfg-if", ] @@ -972,6 +936,47 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "ever-cli" +version = "0.36.7" +dependencies = [ + "assert_cmd", + "async-trait", + "base64 0.13.1", + "chrono", + "clap 2.34.0", + "failure", + "futures", + "hex 0.4.3", + "indicatif", + "lazy_static", + "log", + "num-bigint", + "num-traits", + "predicates 2.1.5", + "qr2term", + "regex", + "reqwest", + "serde", + "serde_derive", + "serde_json", + "simplelog 0.8.0", + "sold", + "string-error", + "tokio", + "tokio-retry", + "ton_abi", + "ton_block", + "ton_block_json", + "ton_client", + "ton_executor", + "ton_labs_assembler", + "ton_sdk", + "ton_types", + "ton_vm", + "url", +] + [[package]] name = "ever-struct" version = "1.0.14" @@ -980,8 +985,8 @@ dependencies = [ "anyhow", "failure", "hex-literal", - "ton_block 1.9.118", - "ton_types 2.0.31", + "ton_block", + "ton_types", ] [[package]] @@ -1012,23 +1017,17 @@ dependencies = [ "synstructure", ] -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - [[package]] name = "fastrand" -version = "2.0.1" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984" [[package]] name = "fiat-crypto" -version = "0.2.5" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" +checksum = "c007b1ae3abe1cb6f85a16305acd418b7ca6343b953633fee2b76d8f108b830f" [[package]] name = "float-cmp" @@ -1125,7 +1124,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -1158,15 +1157,6 @@ dependencies = [ "slab", ] -[[package]] -name = "generic-array" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" -dependencies = [ - "typenum", -] - [[package]] name = "generic-array" version = "0.14.7" @@ -1192,9 +1182,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" dependencies = [ "cfg-if", "libc", @@ -1215,9 +1205,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "h2" -version = "0.3.23" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b553656127a00601c8ae5590fcfdc118e4083a7924b6cf4ffc1ea4b99dc429d7" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", @@ -1238,7 +1228,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.7", + "ahash 0.7.8", ] [[package]] @@ -1249,9 +1239,9 @@ checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" [[package]] name = "heck" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" @@ -1264,9 +1254,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hex" @@ -1313,7 +1303,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" dependencies = [ "digest 0.9.0", - "generic-array 0.14.7", + "generic-array", "hmac 0.8.1", ] @@ -1328,9 +1318,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ "bytes", "fnv", @@ -1399,9 +1389,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.59" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6a67363e2aa4443928ce15e57ebae94fd8949958fd1223c4cfc0cd473ad7539" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -1420,17 +1410,6 @@ dependencies = [ "cc", ] -[[package]] -name = "idna" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "0.3.0" @@ -1459,9 +1438,9 @@ checksum = "4161ceaf2f41b6cd3f6502f5da085d4ad4393a51e0c70ed2fce1d5698d798fae" [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", "hashbrown 0.14.3", @@ -1494,35 +1473,26 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.27" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +checksum = "685a7d121ee3f65ae4fddd72b25a04bb36b6af81bc0828f7d5434c0fe60fa3a2" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" dependencies = [ "wasm-bindgen", ] @@ -1535,9 +1505,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.152" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libsecp256k1" @@ -1589,9 +1559,9 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "lock_api" @@ -1613,9 +1583,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "lru" @@ -1626,17 +1596,11 @@ dependencies = [ "hashbrown 0.12.3", ] -[[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - [[package]] name = "memchr" -version = "2.7.1" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] name = "metrics" @@ -1644,7 +1608,7 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fde3af1a009ed76a778cb84fdef9e7dbbdf5775ae3e4cc1f434a6a307f6f76c5" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.11", "metrics-macros", "portable-atomic", ] @@ -1657,7 +1621,7 @@ checksum = "38b4faf00617defe497754acde3024865bc143d44a86799b24e191ecff91354f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -1668,18 +1632,18 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] [[package]] name = "mio" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "log", @@ -1713,9 +1677,9 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "num" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" +checksum = "3135b08af27d103b0a51f2ae0f8632117b7b185ccf931445affa8df530576a41" dependencies = [ "num-bigint", "num-complex", @@ -1738,13 +1702,19 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-derive" version = "0.3.3" @@ -1758,19 +1728,18 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] [[package]] name = "num-iter" -version = "0.1.43" +version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" +checksum = "d869c01cc0c455284163fd0092f1f93835385ccab5a98a0dcc497b2f8bf055a9" dependencies = [ "autocfg", "num-integer", @@ -1791,9 +1760,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", ] @@ -1804,7 +1773,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi 0.3.9", "libc", ] @@ -1831,23 +1800,17 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "opaque-debug" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" - -[[package]] -name = "opaque-debug" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl" -version = "0.10.62" +version = "0.10.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cde4d2d9200ad5909f8dac647e29482e07c3a35de8a13fce7c9c7747ad9f671" +checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.5.0", "cfg-if", "foreign-types", "libc", @@ -1864,7 +1827,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -1875,9 +1838,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.98" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1665caf8ab2dc9aef43d1c0023bd904633a6a05cb30b0ad59bec2ae986e57a7" +checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" dependencies = [ "cc", "libc", @@ -1949,29 +1912,29 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "pin-utils" @@ -1991,15 +1954,15 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.28" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "platforms" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" +checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" [[package]] name = "pom" @@ -2033,7 +1996,7 @@ checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" dependencies = [ "difflib", "float-cmp", - "itertools 0.10.5", + "itertools", "normalize-line-endings", "predicates-core", "regex", @@ -2041,13 +2004,12 @@ dependencies = [ [[package]] name = "predicates" -version = "3.0.4" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dfc28575c2e3f19cb3c73b93af36460ae898d426eba6fc15b9bd2a5220758a0" +checksum = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8" dependencies = [ "anstyle", "difflib", - "itertools 0.11.0", "predicates-core", ] @@ -2069,9 +2031,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.76" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" +checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" dependencies = [ "unicode-ident", ] @@ -2113,9 +2075,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -2179,7 +2141,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.14", ] [[package]] @@ -2219,9 +2181,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" dependencies = [ "aho-corasick", "memchr", @@ -2231,9 +2193,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ "aho-corasick", "memchr", @@ -2242,17 +2204,17 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "reqwest" -version = "0.11.23" +version = "0.11.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37b1ae8d9ac08420c66222fb9096fc5de435c3c48542bc5336c51892cffafb41" +checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" dependencies = [ - "base64 0.21.6", + "base64 0.21.7", "bytes", "cookie", "cookie_store", @@ -2272,9 +2234,11 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", + "rustls-pemfile", "serde", "serde_json", "serde_urlencoded", + "sync_wrapper", "system-configuration", "tokio", "tokio-native-tls", @@ -2321,22 +2285,31 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.28" +version = "0.38.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.5.0", "errno", "libc", "linux-raw-sys", "windows-sys 0.52.0", ] +[[package]] +name = "rustls-pemfile" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" +dependencies = [ + "base64 0.21.7", +] + [[package]] name = "ryu" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" [[package]] name = "salsa20" @@ -2385,9 +2358,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.2" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" dependencies = [ "bitflags 1.3.2", "core-foundation", @@ -2398,9 +2371,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.9.1" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +checksum = "41f3cc463c0ef97e11c3461a9d3787412d30e8e7eb907c79180c4a57bf7c04ef" dependencies = [ "core-foundation-sys", "libc", @@ -2408,35 +2381,35 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.21" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" [[package]] name = "serde" -version = "1.0.195" +version = "1.0.198" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" +checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.195" +version = "1.0.198" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" +checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] name = "serde_json" -version = "1.0.111" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" +checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" dependencies = [ "indexmap", "itoa", @@ -2446,13 +2419,13 @@ dependencies = [ [[package]] name = "serde_repr" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb" +checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -2478,18 +2451,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "sha2" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", -] - [[package]] name = "sha2" version = "0.9.9" @@ -2500,7 +2461,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug", ] [[package]] @@ -2561,9 +2522,9 @@ dependencies = [ [[package]] name = "similar" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32fea41aca09ee824cc9724996433064c89f7777e60762749a4170a14abbfa21" +checksum = "fa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640" dependencies = [ "bstr 0.2.17", ] @@ -2601,18 +2562,18 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -2627,10 +2588,10 @@ dependencies = [ [[package]] name = "sold" version = "0.66.0" -source = "git+https://github.com/tonlabs/TON-Solidity-Compiler.git?tag=0.66.0#0436b43674dad4e61e7ccb910df169735f324eae" +source = "git+https://github.com/everx-labs/TVM-Solidity-Compiler.git?tag=0.66.0#0436b43674dad4e61e7ccb910df169735f324eae" dependencies = [ "atty", - "clap 4.4.14", + "clap 4.5.4", "cmake", "dunce", "failure", @@ -2638,9 +2599,9 @@ dependencies = [ "serde", "serde_json", "strip-ansi-escapes", - "ton_abi 2.3.7", - "ton_block 1.8.3", - "ton_types 1.11.4", + "ton_abi", + "ton_block", + "ton_types", "tvm_linker", ] @@ -2677,9 +2638,9 @@ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" [[package]] name = "strsim" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "subtle" @@ -2700,15 +2661,21 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.48" +version = "2.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" +checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] +[[package]] +name = "sync_wrapper" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" + [[package]] name = "synstructure" version = "0.12.6" @@ -2744,13 +2711,12 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.9.0" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", "fastrand", - "redox_syscall 0.4.1", "rustix", "windows-sys 0.52.0", ] @@ -2792,22 +2758,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.56" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.56" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -2821,12 +2787,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.31" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", + "num-conv", "powerfmt", "serde", "time-core", @@ -2841,10 +2808,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ + "num-conv", "time-core", ] @@ -2884,9 +2852,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" dependencies = [ "backtrace", "bytes", @@ -2909,7 +2877,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -2935,9 +2903,9 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" dependencies = [ "futures-core", "pin-project-lite", @@ -2972,32 +2940,10 @@ dependencies = [ "tracing", ] -[[package]] -name = "ton_abi" -version = "2.3.7" -source = "git+https://github.com/tonlabs/ton-labs-abi.git?tag=2.3.7#958fba895b3a7c4f255d89a0f292e2136350022c" -dependencies = [ - "base64 0.10.1", - "byteorder", - "chrono", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "failure", - "hex 0.3.2", - "num-bigint", - "num-traits", - "serde", - "serde_derive", - "serde_json", - "sha2 0.8.2", - "ton_block 1.8.3", - "ton_types 1.11.4", -] - [[package]] name = "ton_abi" version = "2.4.10" -source = "git+https://github.com/tonlabs/ever-abi.git?tag=2.4.10#157d4ee3f5c2b433db01f0b82630dab9c51e5efe" +source = "git+https://github.com/everx-labs/ever-abi.git?tag=2.4.10#157d4ee3f5c2b433db01f0b82630dab9c51e5efe" dependencies = [ "base64 0.10.1", "byteorder", @@ -3010,14 +2956,14 @@ dependencies = [ "serde_derive", "serde_json", "sha2 0.10.8", - "ton_block 1.9.118", - "ton_types 2.0.31", + "ton_block", + "ton_types", ] [[package]] name = "ton_api" -version = "0.3.54" -source = "git+https://github.com/tonlabs/ever-tl.git?tag=0.3.54#4ba28623dedcaa6f76ba98aceb649f115a8a97a0" +version = "0.3.5" +source = "git+https://github.com/everx-labs/ever-tl.git?tag=0.3.5#74735d1819aba8d073e8fa7dc324e266685270f8" dependencies = [ "byteorder", "extfmt", @@ -3029,36 +2975,18 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "ton_block 1.9.118", + "ton_block", "ton_tl_codegen", - "ton_types 2.0.31", -] - -[[package]] -name = "ton_block" -version = "1.8.3" -source = "git+https://github.com/tonlabs/ton-labs-block.git?tag=1.8.3#715236f81268d88f89005e7773b09bfc75c55a0c" -dependencies = [ - "base64 0.13.1", - "crc 3.0.1", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "failure", - "hex 0.4.3", - "log", - "num", - "num-traits", - "sha2 0.10.8", - "ton_types 1.11.4", + "ton_types", ] [[package]] name = "ton_block" version = "1.9.118" -source = "git+https://github.com/tonlabs/ever-block.git?tag=1.9.118#49a60ea5ddbdf1fc05f069940ef5d25a15822dcf" +source = "git+https://github.com/everx-labs/ever-block.git?tag=1.9.118#49a60ea5ddbdf1fc05f069940ef5d25a15822dcf" dependencies = [ "base64 0.13.1", - "crc 3.0.1", + "crc 3.2.1", "ed25519 1.5.3", "ed25519-dalek 1.0.1", "failure", @@ -3067,13 +2995,13 @@ dependencies = [ "num", "num-traits", "sha2 0.10.8", - "ton_types 2.0.31", + "ton_types", ] [[package]] name = "ton_block_json" version = "0.7.206" -source = "git+https://github.com/tonlabs/ever-block-json.git?tag=0.7.206#b043222df6dcb551463b4b3ce5dd1decd4cd6dcc" +source = "git+https://github.com/everx-labs/ever-block-json.git?tag=0.7.206#b043222df6dcb551463b4b3ce5dd1decd4cd6dcc" dependencies = [ "base64 0.13.1", "failure", @@ -3087,14 +3015,14 @@ dependencies = [ "serde_derive", "serde_json", "ton_api", - "ton_block 1.9.118", - "ton_types 2.0.31", + "ton_block", + "ton_types", ] [[package]] name = "ton_client" version = "1.45.1" -source = "git+https://github.com/tonlabs/ever-sdk.git?tag=1.45.1#1815d2632f88760beaad9394761cb9111c9787d8" +source = "git+https://github.com/everx-labs/ever-sdk.git?tag=1.45.1#b1a003b1e923e8b529f3af3c21a0ade032de09bf" dependencies = [ "aes", "api_derive", @@ -3107,8 +3035,8 @@ dependencies = [ "byteorder", "chacha20", "chrono", - "crc 3.0.1", - "ed25519-dalek 2.1.0", + "crc 3.2.1", + "ed25519-dalek 2.1.1", "ever-struct", "failure", "futures", @@ -3138,14 +3066,14 @@ dependencies = [ "tokio", "tokio-stream", "tokio-tungstenite", - "ton_abi 2.4.10", - "ton_block 1.9.118", + "ton_abi", + "ton_block", "ton_block_json", "ton_client_processing", "ton_executor", "ton_sdk", - "ton_types 2.0.31", - "ton_vm 1.8.226", + "ton_types", + "ton_vm", "zeroize", "zstd", ] @@ -3153,12 +3081,12 @@ dependencies = [ [[package]] name = "ton_client_processing" version = "1.45.1" -source = "git+https://github.com/tonlabs/ever-sdk.git?tag=1.45.1#1815d2632f88760beaad9394761cb9111c9787d8" +source = "git+https://github.com/everx-labs/ever-sdk.git?tag=1.45.1#b1a003b1e923e8b529f3af3c21a0ade032de09bf" dependencies = [ "api_derive", "api_info", "async-trait", - "base64 0.21.6", + "base64 0.21.7", "futures", "log", "serde", @@ -3166,44 +3094,29 @@ dependencies = [ "serde_json", "serde_repr", "tokio", - "ton_block 1.9.118", - "ton_types 2.0.31", + "ton_block", + "ton_types", ] [[package]] name = "ton_executor" version = "1.16.98" -source = "git+https://github.com/tonlabs/ever-executor.git?tag=1.16.98#b059ff8b96916b978b9a55194a3d04decfcfc2d9" +source = "git+https://github.com/everx-labs/ever-executor.git?tag=1.16.98#b059ff8b96916b978b9a55194a3d04decfcfc2d9" dependencies = [ "failure", "lazy_static", "log", - "ton_block 1.9.118", - "ton_types 2.0.31", - "ton_vm 1.8.226", -] - -[[package]] -name = "ton_labs_assembler" -version = "1.2.49" -source = "git+https://github.com/tonlabs/ton-labs-assembler.git?tag=1.2.49#6a90d710814c0c373226f0d20fe7f51a17532e6a" -dependencies = [ - "failure", - "hex 0.4.3", - "log", - "num", - "num-traits", - "serde", - "serde_json", - "ton_types 1.11.4", + "ton_block", + "ton_types", + "ton_vm", ] [[package]] name = "ton_labs_assembler" version = "1.4.30" -source = "git+https://github.com/tonlabs/ever-assembler.git?tag=1.4.30#45f45d4be64b6a3c998f24fb1e5af0291879dfe3" +source = "git+https://github.com/everx-labs/ever-assembler.git?tag=1.4.30#45f45d4be64b6a3c998f24fb1e5af0291879dfe3" dependencies = [ - "clap 4.4.14", + "clap 4.5.4", "failure", "hex 0.4.3", "log", @@ -3211,14 +3124,14 @@ dependencies = [ "num-traits", "serde", "serde_json", - "ton_types 2.0.31", - "ton_vm 1.8.226", + "ton_types", + "ton_vm", ] [[package]] name = "ton_sdk" version = "1.45.1" -source = "git+https://github.com/tonlabs/ever-sdk.git?tag=1.45.1#1815d2632f88760beaad9394761cb9111c9787d8" +source = "git+https://github.com/everx-labs/ever-sdk.git?tag=1.45.1#b1a003b1e923e8b529f3af3c21a0ade032de09bf" dependencies = [ "api_derive", "api_info", @@ -3234,15 +3147,15 @@ dependencies = [ "serde_derive", "serde_json", "sha2 0.9.9", - "ton_abi 2.4.10", - "ton_block 1.9.118", - "ton_types 2.0.31", + "ton_abi", + "ton_block", + "ton_types", ] [[package]] name = "ton_tl_codegen" version = "0.1.0" -source = "git+https://github.com/tonlabs/ever-tl.git?tag=0.3.54#4ba28623dedcaa6f76ba98aceb649f115a8a97a0" +source = "git+https://github.com/everx-labs/ever-tl.git?tag=0.3.5#74735d1819aba8d073e8fa7dc324e266685270f8" dependencies = [ "crc 1.8.1", "failure", @@ -3254,38 +3167,18 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ton_types" -version = "1.11.4" -source = "git+https://github.com/tonlabs/ton-labs-types.git?tag=1.11.4#c2204fe7610017a1b98ab196e0afd4e979d033e2" -dependencies = [ - "base64 0.13.1", - "crc 1.8.1", - "failure", - "hex 0.4.3", - "lazy_static", - "lockfree", - "log", - "num", - "num-derive", - "num-traits", - "rand 0.8.5", - "sha2 0.9.9", - "smallvec", -] - [[package]] name = "ton_types" version = "2.0.31" -source = "git+https://github.com/tonlabs/ever-types.git?tag=2.0.31#23a46666bed1d6c7fc5c0061992e5ee0762f7686" +source = "git+https://github.com/everx-labs/ever-types.git?tag=2.0.31#23a46666bed1d6c7fc5c0061992e5ee0762f7686" dependencies = [ "aes-ctr", "base64 0.13.1", "blst", - "crc 3.0.1", - "curve25519-dalek 4.1.1", + "crc 3.2.1", + "curve25519-dalek 4.1.2", "ed25519 2.2.3", - "ed25519-dalek 2.1.0", + "ed25519-dalek 2.1.1", "failure", "hex 0.4.3", "lazy_static", @@ -3302,32 +3195,10 @@ dependencies = [ "x25519-dalek", ] -[[package]] -name = "ton_vm" -version = "1.8.44" -source = "git+https://github.com/tonlabs/ton-labs-vm.git?tag=1.8.44#5a83076b448cb35d2da7611552f76dea5cffc9db" -dependencies = [ - "diffy", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "failure", - "hex 0.4.3", - "lazy_static", - "log", - "num", - "num-traits", - "rand 0.7.3", - "sha2 0.9.9", - "similar", - "ton_block 1.8.3", - "ton_types 1.11.4", - "zstd", -] - [[package]] name = "ton_vm" version = "1.8.226" -source = "git+https://github.com/tonlabs/ever-vm.git?tag=1.8.226#ef47923cfc34e0261cc75f27564223b91818f238" +source = "git+https://github.com/everx-labs/ever-vm.git?tag=1.8.226#ef47923cfc34e0261cc75f27564223b91818f238" dependencies = [ "diffy", "ed25519 1.5.3", @@ -3340,52 +3211,11 @@ dependencies = [ "num-traits", "rand 0.7.3", "similar", - "ton_block 1.9.118", - "ton_types 2.0.31", + "ton_block", + "ton_types", "zstd", ] -[[package]] -name = "tonos-cli" -version = "0.36.6" -dependencies = [ - "assert_cmd", - "async-trait", - "base64 0.13.1", - "chrono", - "clap 2.34.0", - "failure", - "futures", - "hex 0.4.3", - "indicatif", - "lazy_static", - "log", - "num-bigint", - "num-traits", - "predicates 2.1.5", - "qr2term", - "regex", - "reqwest", - "serde", - "serde_derive", - "serde_json", - "simplelog 0.8.0", - "sold", - "string-error", - "tokio", - "tokio-retry", - "ton_abi 2.4.10", - "ton_block 1.9.118", - "ton_block_json", - "ton_client", - "ton_executor", - "ton_labs_assembler 1.4.30", - "ton_sdk", - "ton_types 2.0.31", - "ton_vm 1.8.226", - "url", -] - [[package]] name = "tower-service" version = "0.3.2" @@ -3444,7 +3274,7 @@ source = "git+https://github.com/tonlabs/TVM-linker.git?tag=0.18.4#4e97449a48c05 dependencies = [ "base64 0.13.1", "clap 2.34.0", - "crc 3.0.1", + "crc 3.2.1", "ed25519 1.5.3", "ed25519-dalek 1.0.1", "failure", @@ -3459,11 +3289,11 @@ dependencies = [ "serde_json", "sha2 0.10.8", "simplelog 0.5.3", - "ton_abi 2.3.7", - "ton_block 1.8.3", - "ton_labs_assembler 1.2.49", - "ton_types 1.11.4", - "ton_vm 1.8.44", + "ton_abi", + "ton_block", + "ton_labs_assembler", + "ton_types", + "ton_vm", ] [[package]] @@ -3474,9 +3304,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" @@ -3486,9 +3316,9 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" dependencies = [ "tinyvec", ] @@ -3599,9 +3429,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -3609,24 +3439,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" dependencies = [ "cfg-if", "js-sys", @@ -3636,9 +3466,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -3646,28 +3476,28 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "web-sys" -version = "0.3.66" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" dependencies = [ "js-sys", "wasm-bindgen", @@ -3710,7 +3540,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.5", ] [[package]] @@ -3728,7 +3558,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.5", ] [[package]] @@ -3748,17 +3578,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", ] [[package]] @@ -3769,9 +3600,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" [[package]] name = "windows_aarch64_msvc" @@ -3781,9 +3612,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" [[package]] name = "windows_i686_gnu" @@ -3793,9 +3624,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" [[package]] name = "windows_i686_msvc" @@ -3805,9 +3642,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" [[package]] name = "windows_x86_64_gnu" @@ -3817,9 +3654,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" [[package]] name = "windows_x86_64_gnullvm" @@ -3829,9 +3666,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" [[package]] name = "windows_x86_64_msvc" @@ -3841,9 +3678,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" [[package]] name = "winreg" @@ -3857,11 +3694,11 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", "serde", "zeroize", @@ -3884,7 +3721,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -3904,7 +3741,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.60", ] [[package]] @@ -3928,9 +3765,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.10+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 86e4c771..7a2d0c61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -authors = [ 'TON DEV SOLUTIONS LTD ' ] +authors = [ 'TON DEV SOLUTIONS LTD ' ] build = 'build.rs' description = 'command line tool for TON blockchain' documentation = 'https://docs.everos.dev/' @@ -9,15 +9,15 @@ keywords = [ 'TON', 'SDK', 'smart contract', - 'tonlabs', + 'everx-labs', 'solidity' ] license = 'Apache-2.0' -name = 'tonos-cli' +name = 'ever-cli' readme = 'README.md' -repository = 'https://github.com/tonlabs/tonos-cli' -version = '0.36.6' -default-run = 'tonos-cli' +repository = 'https://github.com/everx-labs/ever-cli' +version = '0.36.7' +default-run = 'ever-cli' [features] sold = ["dep:sold"] @@ -45,16 +45,16 @@ serde = { features = [ 'derive' ], version = '1.0' } tokio = { default-features = false, features = [ 'full' ], version = '1.21' } url = '2.3.1' -ton_abi = { git = 'https://github.com/tonlabs/ever-abi.git', tag = '2.4.10' } -ton_block = { git = 'https://github.com/tonlabs/ever-block.git', tag = '1.9.118' } -ton_block_json = { git = 'https://github.com/tonlabs/ever-block-json.git', tag = '0.7.206' } -ton_client = { git = 'https://github.com/tonlabs/ever-sdk.git', tag = '1.45.1' } -ton_executor = { git = 'https://github.com/tonlabs/ever-executor.git', tag = '1.16.98' } -ton_labs_assembler = { git = 'https://github.com/tonlabs/ever-assembler.git', tag = '1.4.30' } -ton_sdk = { git = 'https://github.com/tonlabs/ever-sdk.git', tag = '1.45.1' } -ton_types = { git = 'https://github.com/tonlabs/ever-types.git', tag = '2.0.31' } -ton_vm = { git = 'https://github.com/tonlabs/ever-vm.git', tag = '1.8.226' } -sold = { git = 'https://github.com/tonlabs/TON-Solidity-Compiler.git', tag = '0.66.0', optional = true } +ton_abi = { git = 'https://github.com/everx-labs/ever-abi.git', tag = '2.4.10' } +ton_block = { git = 'https://github.com/everx-labs/ever-block.git', tag = '1.9.118' } +ton_block_json = { git = 'https://github.com/everx-labs/ever-block-json.git', tag = '0.7.206' } +ton_executor = { git = 'https://github.com/everx-labs/ever-executor.git', tag = '1.16.98' } +ton_labs_assembler = { git = 'https://github.com/everx-labs/ever-assembler.git', tag = '1.4.30' } +ton_sdk = { git = 'https://github.com/everx-labs/ever-sdk.git', tag = '1.45.1' } +ton_client = { git = 'https://github.com/everx-labs/ever-sdk.git', tag = '1.45.1' } +ton_types = { git = 'https://github.com/everx-labs/ever-types.git', tag = '2.0.31' } +ton_vm = { git = 'https://github.com/everx-labs/ever-vm.git', tag = '1.8.226' } +sold = { git = 'https://github.com/everx-labs/TVM-Solidity-Compiler.git', tag = '0.66.0', optional = true } [dev-dependencies] assert_cmd = '2.0' @@ -63,34 +63,54 @@ predicates = '2.1' string-error = '0.1.0' [[bin]] -name = "tonos-cli" +name = "ever-cli" path = "src/main.rs" [[bin]] -name = "__tonos-cli_completion" +name = "__ever-cli_completion" path = "src/completion.rs" -#[patch.'https://github.com/tonlabs/ton-labs-abi.git'] -#ton_abi = { git = 'https://github.com/tonlabs/ever-abi.git', tag = '2.3.65' } -# -#[patch.'https://github.com/tonlabs/ton-labs-block.git'] -#ton_block = { git = 'https://github.com/tonlabs/ever-block.git', tag = '1.9.18' } -# -#[patch.'https://github.com/tonlabs/ton-labs-block-json.git'] -#ton_block_json = { git = 'https://github.com/tonlabs/ever-block-json.git', tag = '0.7.95' } -# -#[patch.'https://github.com/tonlabs/TON-SDK.git'] -#ton_client = { git = 'https://github.com/tonlabs/ever-sdk.git', tag = '1.41.1' } -#ton_sdk = { git = 'https://github.com/tonlabs/ever-sdk.git', tag = '1.41.1' } -# -#[patch.'https://github.com/tonlabs/ton-labs-executor.git'] -#ton_executor = { git = 'https://github.com/tonlabs/ever-executor.git', tag = '1.15.173' } -# -#[patch.'https://github.com/tonlabs/ton-labs-assembler.git'] -#ton_labs_assembler = { git = 'https://github.com/tonlabs/ever-assembler.git', tag = '1.2.77' } -# -#[patch.'https://github.com/tonlabs/ton-labs-types.git'] -#ton_types = { git = 'https://github.com/tonlabs/ever-types.git', tag = '1.12.7' } -# -#[patch.'https://github.com/tonlabs/ton-labs-vm.git'] -#ton_vm = { git = 'https://github.com/tonlabs/ever-vm.git', tag = '1.8.114' } +[patch.'https://github.com/tonlabs/ton-labs-abi.git'] +ton_abi = { git = 'https://github.com/everx-labs/ever-abi.git', tag = '2.4.10' } + +[patch.'https://github.com/tonlabs/ever-abi.git'] +ton_abi = { git = 'https://github.com/everx-labs/ever-abi.git', tag = '2.4.10' } + +[patch.'https://github.com/tonlabs/ton-labs-block.git'] +ton_block = { git = 'https://github.com/everx-labs/ever-block.git', tag = '1.9.118' } + +[patch.'https://github.com/tonlabs/ever-block.git'] +ton_block = { git = 'https://github.com/everx-labs/ever-block.git', tag = '1.9.118' } + +[patch.'https://github.com/tonlabs/ton-labs-block-json.git'] +ton_block_json = { git = 'https://github.com/everx-labs/ever-block-json.git', tag = '0.7.206' } + +[patch.'https://github.com/tonlabs/ever-block-json.git'] +ton_block_json = { git = 'https://github.com/everx-labs/ever-block-json.git', tag = '0.7.206' } + +[patch.'https://github.com/tonlabs/ton-labs-executor.git'] +ton_executor = { git = 'https://github.com/everx-labs/ever-executor.git', tag = '1.16.98' } + +[patch.'https://github.com/tonlabs/ever-executor.git'] +ton_executor = { git = 'https://github.com/everx-labs/ever-executor.git', tag = '1.16.98' } + +[patch.'https://github.com/tonlabs/ton-labs-assembler.git'] +ton_labs_assembler = { git = 'https://github.com/everx-labs/ever-assembler.git', tag = '1.4.30' } + +[patch.'https://github.com/tonlabs/ever-assembler.git'] +ton_labs_assembler = { git = 'https://github.com/everx-labs/ever-assembler.git', tag = '1.4.30' } + +[patch.'https://github.com/tonlabs/ton-labs-types.git'] +ton_types = { git = 'https://github.com/everx-labs/ever-types.git', tag = '2.0.31' } + +[patch.'https://github.com/tonlabs/ever-types.git'] +ton_types = { git = 'https://github.com/everx-labs/ever-types.git', tag = '2.0.31' } + +[patch.'https://github.com/tonlabs/ton-labs-vm.git'] +ton_vm = { git = 'https://github.com/everx-labs/ever-vm.git', tag = '1.8.226' } + +[patch.'https://github.com/tonlabs/ever-vm.git'] +ton_vm = { git = 'https://github.com/everx-labs/ever-vm.git', tag = '1.8.226' } + +[patch.'https://github.com/tonlabs/ever-tl.git'] +ton_api = { git = 'https://github.com/everx-labs/ever-tl.git', tag = '0.3.5' } diff --git a/Debug.md b/Debug.md index a99436f0..159775fe 100644 --- a/Debug.md +++ b/Debug.md @@ -1,11 +1,11 @@ -# How to debug contracts with tonos-cli +# How to debug contracts with ever-cli -tonos-cli can help user investigate at what moment of contract execution has error happened. +ever-cli can help user investigate at what moment of contract execution has error happened. # 1. Preliminary actions User should generate debug info file to bind contract and source files on the stage of contract compilation with -[tvm-linker](https://github.com/tonlabs/TVM-linker#1-generating-a-ready-to-deploy-contract): +[tvm-linker](https://github.com/everx-labs/TVM-linker#1-generating-a-ready-to-deploy-contract): ```bash $ tvm_linker compile .code --abi-json .abi.json --debug-map .dbg.json -o .tvc --lib stdlib_sol.tvm @@ -17,14 +17,14 @@ Besides **.tvc** file pay attention to the **.dbg.json** file, it contains debug # 2. Deploy your contract ```bash -$ tonos-cli deploy --wc --abi .abi.json --sign .tvc +$ ever-cli deploy --wc --abi .abi.json --sign .tvc ``` Here user obtains contract address, which will be denoted as `
` in further instruction. -Before actual deploy or if deploy failed user can debug deploy with tonos-cli command which has almost the same options: +Before actual deploy or if deploy failed user can debug deploy with ever-cli command which has almost the same options: ```bash -$ tonos-cli debug deploy --wc --abi .abi.json --sign -d .dbg.json .tvc [--init_balance] [-o ] +$ ever-cli debug deploy --wc --abi .abi.json --sign -d .dbg.json .tvc [--init_balance] [-o ] ``` `--init_balance` option allows to debug deploy without preliminary initiating balance of the network address. @@ -36,13 +36,13 @@ default path is `./trace.log`) Before calling contract function onchain, user can run function call locally with trace. ```bash -tonos-cli debug call --abi .abi.json --sign -d .dbg.json [-o ]
+ever-cli debug call --abi .abi.json --sign -d .dbg.json [-o ]
``` The same as call, run command can also be debugged: ```bash -tonos-cli debug run --abi .abi.json -d .dbg.json [-o ]
+ever-cli debug run --abi .abi.json -d .dbg.json [-o ]
``` As in previous case log will be saved to a specified path. @@ -60,10 +60,10 @@ Error: Failed: { Or get transaction ID from [Live](https://ever.live/landing). -3) Run the tonos-cli debug transaction command with the obtained value to get TVM trace: +3) Run the ever-cli debug transaction command with the obtained value to get TVM trace: ``` -tonos-cli debug transaction 69a8250000571041c011ef717228f6637b836248f8af46755c33bc9bcf0e9b88 \ +ever-cli debug transaction 69a8250000571041c011ef717228f6637b836248f8af46755c33bc9bcf0e9b88 \ --dump_contract -e --min_trace -d .dbg.json -o trace_old_code.log ``` @@ -85,13 +85,13 @@ tvm_linker replace_code -a .abi.json --debug-map .db 7.1) Run debug replay to replay the transaction on the modified account state: ``` -tonos-cli debug replay --update_state -d .dbg.json -o new_trace.log 69a8250000571041c011ef717228f6637b836248f8af46755c33bc9bcf0e9b88 contract.boc" +ever-cli debug replay --update_state -d .dbg.json -o new_trace.log 69a8250000571041c011ef717228f6637b836248f8af46755c33bc9bcf0e9b88 contract.boc" ``` 7.2) Run debug call locally on the new account to test new version of the contract on a new generated call message: ``` -tonos-cli debug call --boc --abi .abi.json -d .dbg.json -o new_trace.log --sign contract.boc +ever-cli debug call --boc --abi .abi.json -d .dbg.json -o new_trace.log --sign contract.boc ``` diff --git a/README.md b/README.md index 056fbd03..fb35a899 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# TONOS-CLI +# EVER-CLI -TONOS-CLI is a multi-platform command line interface for TVM compatible networks (Everscale, Venom, Gosh, TON). +EVER-CLI is a multi-platform command line interface for TVM compatible networks (Everscale, Venom, Gosh, TON). It allows user to work with keys and seed phrases, deploy contracts, call any of their methods, generate and broadcast messages. It supports specific commands for DeBot, DePool and Multisignature Wallet contracts, as well as a number of @@ -9,12 +9,12 @@ supplementary functions. To access built-in help, use `--help` or `-h` flag: ```bash -tonos-cli --help -tonos-cli -h +ever-cli --help +ever-cli -h ``` # Table of contents -- [TONOS-CLI](#tonos-cli) +- [EVER-CLI](#ever-cli) - [Table of contents](#table-of-contents) - [1. Installation](#1-installation) - [Install compiled executable](#install-compiled-executable) @@ -24,8 +24,8 @@ tonos-cli -h - [Build from source on Linux and macOS](#build-from-source-on-linux-and-macos) - [Build from source on Windows](#build-from-source-on-windows) - [Tails OS secure environment](#tails-os-secure-environment) - - [Put TONOS-CLI into system environment](#put-tonos-cli-into-system-environment) - - [Install tonos-cli, completion script and bind them](#install-tonos-cli-completion-script-and-bind-them) + - [Put EVER-CLI into system environment](#put-ever-cli-into-system-environment) + - [Install ever-cli, completion script and bind them](#install-ever-cli-completion-script-and-bind-them) - [Windows debug build troubleshooting](#windows-debug-build-troubleshooting) - [Ubuntu 22 troubleshooting](#ubuntu-22-troubleshooting) - [Check version](#check-version) @@ -72,7 +72,7 @@ tonos-cli -h - [6.1. Send tokens](#61-send-tokens) - [6.2. Deploy wallet](#62-deploy-wallet) - [7. DePool commands](#7-depool-commands) - - [7.1. Configure TONOS-CLI for DePool operations](#71-configure-tonos-cli-for-depool-operations) + - [7.1. Configure EVER-CLI for DePool operations](#71-configure-ever-cli-for-depool-operations) - [7.2. Deposit stakes](#72-deposit-stakes) - [7.2.1. Ordinary stake](#721-ordinary-stake) - [7.2.2. Vesting stake](#722-vesting-stake) @@ -112,7 +112,8 @@ tonos-cli -h - [11.4. Debug replay transaction on the saved account state](#114-debug-replay-transaction-on-the-saved-account-state) - [11.5. Debug deploy](#115-debug-deploy) - [11.6. Debug message](#116-debug-message) - - [11.7. Render UML sequence diagram](#117-render-uml-sequence-diagram) + - [11.7. Debug account](#117-debug-account) + - [11.8. Render UML sequence diagram](#118-render-uml-sequence-diagram) - [12. Alias functionality](#12-alias-functionality) - [13. Evercloud authentication](#13-evercloud-authentication) @@ -121,31 +122,31 @@ tonos-cli -h ## Install compiled executable Create a folder. Download the `.zip` file from the latest release from here: -[https://github.com/tonlabs/tonos-cli/releases](https://github.com/tonlabs/tonos-cli/releases) to this folder. Extract +[https://github.com/everx-labs/ever-cli/releases](https://github.com/everx-labs/ever-cli/releases) to this folder. Extract it. ## Install through EVERDEV -You can use [EVERDEV](https://github.com/tonlabs/everdev) to install the latest version of TONOS-CLI. +You can use [EVERDEV](https://github.com/everx-labs/everdev) to install the latest version of EVER-CLI. ```bash -everdev tonos-cli install +everdev ever-cli install ``` The installer requires [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) to be installed, so it can install packages globally without using sudo. In case of error, manually set environment variable `PATH=$PATH:$HOME./everdev/solidity` -This command updates TONOS-CLI installed through EVERDEV to the latest version: +This command updates EVER-CLI installed through EVERDEV to the latest version: ```bash -everdev tonos-cli update +everdev ever-cli update ``` -This command specifies TONOS-CLI version to use and downloads it if needed: +This command specifies EVER-CLI version to use and downloads it if needed: ```bash -everdev tonos-cli set --version 0.8.0 +everdev ever-cli set --version 0.8.0 ``` ## Build from source @@ -166,66 +167,66 @@ sudo apt-get install pkg-config Install Cargo: [https://github.com/rust-lang/cargo#compiling-from-source](https://github.com/rust-lang/cargo#compiling-from-source) -Build TONOS-CLI tool from source: +Build EVER-CLI tool from source: ```bash -git clone https://github.com/tonlabs/tonos-cli.git -cd tonos-cli +git clone https://github.com/everx-labs/ever-cli.git +cd ever-cli cargo update cargo build --release cd target/release ``` -The `tonos-cli` executable is built in the `tonos-cli/target/release` folder. -Create a folder elsewhere. Copy the `tonos-cli` executable into the new folder you have created. -Or just add `tonos-cli/target/release` to the PATH local variable. +The `ever-cli` executable is built in the `ever-cli/target/release` folder. +Create a folder elsewhere. Copy the `ever-cli` executable into the new folder you have created. +Or just add `ever-cli/target/release` to the PATH local variable. ### Build from source on Windows Install Cargo: [https://github.com/rust-lang/cargo#compiling-from-source](https://github.com/rust-lang/cargo#compiling-from-source) -Build TONOS-CLI tool from source: +Build EVER-CLI tool from source: ```bash -> git clone https://github.com/tonlabs/tonos-cli.git -> cd tonos-cli +> git clone https://github.com/everx-labs/ever-cli.git +> cd ever-cli > cargo update > cargo build --release > cd target/release ``` -The `tonos-cli` executable is built in the `tonos-cli/target/release` folder. -Create a folder elsewhere. Copy the `tonos-cli` executable into the new folder you have created. -Or just add `tonos-cli/target/release` to the PATH local variable. +The `ever-cli` executable is built in the `ever-cli/target/release` folder. +Create a folder elsewhere. Copy the `ever-cli` executable into the new folder you have created. +Or just add `ever-cli/target/release` to the PATH local variable. ### Tails OS secure environment -For maximum security while working with offline TONOS-CLI features (such as cryptographic commands or encrypted message +For maximum security while working with offline EVER-CLI features (such as cryptographic commands or encrypted message generation), you can use the [Tails OS](https://tails.boum.org/). -### Put TONOS-CLI into system environment +### Put EVER-CLI into system environment Optional, Linux/macOS. Use the following command to put the utility into system environment: ```bash -export PATH=":$PATH" +export PATH=":$PATH" ``` -This step can be skipped, if TONOS-CLI was installed through EVERDEV. Otherwise, if you skip this step, make sure you +This step can be skipped, if EVER-CLI was installed through EVERDEV. Otherwise, if you skip this step, make sure you always run the utility from folder containing the utility: ```bash -./tonos-cli +./ever-cli ``` -### Install tonos-cli, completion script and bind them +### Install ever-cli, completion script and bind them -On Linux tonos-cli can be installed with a completion script by using such commands: +On Linux ever-cli can be installed with a completion script by using such commands: ```bash -cd tonos-cli +cd ever-cli cargo install --force --path . -complete -C __tonos-cli_completion tonos-cli +complete -C __ever-cli_completion ever-cli ``` After adding completion script, user can use `` key to complete `--addr` option with aliases saved in the config @@ -238,21 +239,21 @@ Default debug executable built after `cargo build` command may have an issue wit ```bash > cargo build Finished dev [unoptimized + debuginfo] target(s) in 0.66s -> .\target\debug\tonos-cli.exe --version +> .\target\debug\ever-cli.exe --version thread 'main' has overflowed its stack ``` User 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). -This tool allows user to increase binary stack reserve. Increase it by 2 times will help to fix tonos-cli: +This tool allows user to increase binary stack reserve. Increase it by 2 times will help to fix ever-cli: ```bash -> editbin /STACK:2097152 tonos-cli.exe +> editbin /STACK:2097152 ever-cli.exe Microsoft (R) COFF/PE Editor Version 14.28.29914.0 Copyright (C) Microsoft Corporation. All rights reserved. -> tonos-cli.exe --version -tonos_cli 0.26.7 +> ever-cli.exe --version +ever_cli 0.26.7 COMMIT_ID: 1e1397b5561ea79d2fd7cce47cd033450b123f25 BUILD_DATE: Unknown COMMIT_DATE: 2022-05-13 14:15:47 +0300 @@ -261,7 +262,7 @@ GIT_BRANCH: master ## Ubuntu 22 troubleshooting -Ubuntu 22 has upgraded to OpenSSL 3.0 and this breaks execution of compiled tonos-cli releases. To fix this problem one +Ubuntu 22 has upgraded to OpenSSL 3.0 and this breaks execution of compiled ever-cli releases. To fix this problem one should install old version of libssl. To do it one can download amd64 package from (packages.debian.org)[https://packages.debian.org/stretch/libssl1.1] and install it with dpkg: @@ -271,18 +272,18 @@ sudo dpkg -i libssl1.1*.deb ## Check version -You can check version of the current TONOS-CLI installation with the following command: +You can check version of the current EVER-CLI installation with the following command: ```bash -tonos-cli version +ever-cli version ``` Output example: ```bash -$ tonos-cli version +$ ever-cli version Config: default -tonos-cli 0.2.0 +ever-cli 0.2.0 COMMIT_ID: 21ebd53c35bf22696bf1eb434e408ed33318136a BUILD_DATE: 2021-01-26 15:06:18 +0300 COMMIT_DATE: 2021-01-14 16:13:32 +0300 @@ -291,19 +292,19 @@ GIT_BRANCH: master ## A note on Windows syntax -When using Windows command line, the following syntax should be used for all TONOS-CLI commands: +When using Windows command line, the following syntax should be used for all EVER-CLI commands: -1) Never use the `./` symbols before `tonos-cli`: +1) Never use the `./` symbols before `ever-cli`: ```bash -> tonos-cli +> ever-cli ``` 2) For all commands with nested quotes, the outer single quotes should be changed to double quotes, and the inner double quotes should be shielded by a preceding `\`. Example: ```bash -> tonos-cli deploy SafeMultisigWallet.tvc "{\"owners\":[\"0x723b2f0fa217cd10fe21326634e66106678f15d5a584babe4f576dffe9dcbb1b\",\"0x127e3ca223ad429ddaa053a39fecd21131df173bb459a4438592493245b695a3\",\"0xc2dd3682ffa9df97a968bef90b63da90fc92b22163f558b63cb7e52bfcd51bbb\"],\"reqConfirms\":2}" --abi SafeMultisigWallet.abi.json --sign deploy.keys.json +> ever-cli deploy SafeMultisigWallet.tvc "{\"owners\":[\"0x723b2f0fa217cd10fe21326634e66106678f15d5a584babe4f576dffe9dcbb1b\",\"0x127e3ca223ad429ddaa053a39fecd21131df173bb459a4438592493245b695a3\",\"0xc2dd3682ffa9df97a968bef90b63da90fc92b22163f558b63cb7e52bfcd51bbb\"],\"reqConfirms\":2}" --abi SafeMultisigWallet.abi.json --sign deploy.keys.json ``` If this is not done, `arguments are not in json format: key must be a string at line 1 column` error may occur. @@ -312,25 +313,25 @@ If this is not done, `arguments are not in json format: key must be a string at ## 2.1. Set the network and parameter values -TONOS-CLI can store some parameter values in the tonos-cli configuration file and use it automatically in various +EVER-CLI can store some parameter values in the ever-cli configuration file and use it automatically in various subcommands. After that you can omit the corresponding parameters in subsequent subcommands. -Default path for the configuration file is `./tonos-cli.config.json`. It is created in the current working directory. +Default path for the configuration file is `./ever-cli.config.json`. It is created in the current working directory. User can set up path to the configuration file [manually](#25-override-configuration-file-location). All subsequent calls of the utility will use this file by default. Use the following command to create a configuration file: ```bash -tonos-cli config [--global] <--option> +ever-cli config [--global] <--option> ``` -All other TONOS-CLI commands will indicate the configuration file currently used. +All other EVER-CLI commands will indicate the configuration file currently used. Default values for options that were not specified are taken from the global configuration file. It has name -`.tonos-cli.global.conf.json` and is located in the folder, where the `tonos-cli` executable lies. This global +`.ever-cli.global.conf.json` and is located in the folder, where the `ever-cli` executable lies. This global configuration file can be configured as the ordinary one, but the option `--global` must be used for the `config` subcommand. @@ -342,7 +343,7 @@ List of available options: --addr Contract address. --async_call Disables wait for transaction to appear in the network after call command. --balance_in_tons Print balance for account command in tons. If false balance is printed in nanotons. ---debug_fail When enabled tonos-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'. +--debug_fail 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'. --depool_fee Value added to the message sent to depool to cover its fees (change will be returned). --is_json Cli prints output in json format. --keys Path to the file with keypair. @@ -365,7 +366,7 @@ List of available options: Example: ```bash -$ tonos-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 +$ 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 Succeeded. { "url": "main.evercloud.dev", @@ -401,52 +402,52 @@ Some frequently used networks: `http://127.0.0.1/` - Node SE local node. -`https://devnet.evercloud.dev` - developer sandbox for testing. TONOS-CLI connects to it by default. +`https://devnet.evercloud.dev` - developer sandbox for testing. EVER-CLI connects to it by default. `https://mainnet.evercloud.dev` - main Free TON network. -TONOS-CLI supports the use of multiple endpoints for networks: if several endpoints are -[specified in the endpoint map](#24-configure-endpoints-map) for a network, TONOS-CLI will use them all when accessing +EVER-CLI supports the use of multiple endpoints for networks: if several endpoints are +[specified in the endpoint map](#24-configure-endpoints-map) for a network, EVER-CLI will use them all when accessing it. Otherwise, the network URL will be treated as the only endpoint. `https://mainnet.evercloud.dev` and `https://devnet.evercloud.dev` networks already have their current endpoints specified in the default endpoint map. See [section 2.4 below](#24-configure-endpoints-map) on how to edit and add endpoints to the endpoint map. -> **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. TONOS-CLI will simply use the default endpoint map to access these networks. +> **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. Network configuration can be [overridden](#26-override-network-settings) for any single subcommand. -To connect to a [DApp Server](https://github.com/tonlabs/TON-OS-DApp-Server) you are running, it should have domain name -and a DNS record. Then its URL may be used to access it with TONOS-CLI: +To connect to a [DApp Server](https://github.com/everx-labs/TON-OS-DApp-Server) you are running, it should have domain name +and a DNS record. Then its URL may be used to access it with EVER-CLI: ```bash -tonos-cli config --url +ever-cli config --url ``` -> Note: Either run tonos-cli utility only from the directory where tonos-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. +> 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. ### 2.1.1. Troubleshooting network connectivity problems Most part of the network connectivity problems can be fixed by using right network endpoints and authentication credentials. -tonos-cli reads network endpoints settings from the configuration file, so ensure that you have set them properly. +ever-cli reads network endpoints settings from the configuration file, so ensure that you have set them properly. [Here](https://docs.everos.dev/ever-sdk/reference/ever-os-api/networks) you can get the list of current network endpoints. -tonos-cli usually has the latest list of endpoints, but old endpoints can be saved in the configuration or global -configuration files, so it's better to clear the config files after upgrading the tonos-cli: +ever-cli usually has the latest list of endpoints, but old endpoints can be saved in the configuration or global +configuration files, so it's better to clear the config files after upgrading the ever-cli: ```bash -$ tonos-cli config --global clear -$ tonos-cli config --global endpoint reset -$ tonos-cli config clear -$ tonos-cli config endpoint reset +$ ever-cli config --global clear +$ ever-cli config --global endpoint reset +$ ever-cli config clear +$ ever-cli config endpoint reset ``` If your network connection can't be established with such error description: ```bash -$ tonos-cli account -1:3333333333333333333333333333333333333333333333333333333333333333 +$ ever-cli account -1:3333333333333333333333333333333333333333333333333333333333333333 Input arguments: addresses: -1:3333333333333333333333333333333333333333333333333333333333333333 Connecting to: @@ -466,8 +467,8 @@ it can be caused by absence of authentication credentials. Set them up as descri You can print the current or the global configuration parameters with the following command: ```bash -tonos-cli config --list -tonos-cli config --global --list +ever-cli config --list +ever-cli config --global --list ``` ## 2.3. Clear configuration @@ -475,13 +476,13 @@ tonos-cli config --global --list Use the following command to reset configuration to default values: ```bash -tonos-cli config clear +ever-cli config clear ``` The same options as in ordinary `congfig` command can be used to clear only the specified parametes. ```bash -$ tonos-cli config clear --url --addr --wallet +$ ever-cli config clear --url --addr --wallet Succeeded. { "url": "net.evercloud.dev", @@ -515,19 +516,19 @@ Succeeded. ## 2.4. Configure endpoints map -TONOS-CLI configuration file also stores the endpoints map that can be updated by the user. +EVER-CLI configuration file also stores the endpoints map that can be updated by the user. Each time user [changes the url](#21-set-the-network-and-parameter-values), endpoints also change in accordance to the endpoints map. To print the map use the following command: ```bash -tonos-cli config endpoint print +ever-cli config endpoint print ``` User can reset map to the default state: ```bash -tonos-cli config endpoint reset +ever-cli config endpoint reset ``` Default state of the map: @@ -551,56 +552,56 @@ Default state of the map: Map can be changed with `remove` and `add` subcommands: ```bash -tonos-cli config endpoint remove -tonos-cli config endpoint add +ever-cli config endpoint remove +ever-cli config endpoint add ``` Example: ```bash -tonos-cli config endpoint remove main.evercloud.dev -tonos-cli config endpoint add main.evercloud.dev "https://mainnet.evercloud.dev" +ever-cli config endpoint remove main.evercloud.dev +ever-cli config endpoint add main.evercloud.dev "https://mainnet.evercloud.dev" ``` > **Note**: If url used in the add command already exists, endpoints lists will be merged. If a network that doesn't have mapped endpoints is [specified in the config file](#21-set-the-network-and-parameter-values), its url will be automatically treated as the -only endpoint. For example, configuring TONOS-CLI to connect to RustNet with the command -`tonos-cli config --url https://rustnet.ton.dev` will result in TONOS-CLI using this url as a single endpoint, without +only endpoint. For example, configuring EVER-CLI to connect to RustNet with the command +`ever-cli config --url https://rustnet.ton.dev` will result in EVER-CLI using this url as a single endpoint, without the user having to specify it in the endpoints map additionally. ## 2.5. Override configuration file location -You can move the `tonos-cli.config.json` configuration file to any other convenient location and/or rename it. There are +You can move the `ever-cli.config.json` configuration file to any other convenient location and/or rename it. There are several ways you can point the utility to the new location of the file: -- **define environment variable** `TONOSCLI_CONFIG` with the path to your configuration file: +- **define environment variable** `EVER_CLI_CONFIG` with the path to your configuration file: ```bash -export TONOSCLI_CONFIG= +export EVER_CLI_CONFIG= ``` Example: ```bash -export TONOSCLI_CONFIG=/home/user/config.json +export EVER_CLI_CONFIG=/home/user/config.json ``` - **define direct option** `--config ` before any other subcommand: ```bash -tonos-cli --config +ever-cli --config ``` Example: ```bash -tonos-cli --config /home/user/config.json account
+ever-cli --config /home/user/config.json account
``` -The `--config` direct option has higher priority than the `TONOSCLI_CONFIG` environment variable. +The `--config` direct option has higher priority than the `EVER_CLI_CONFIG` environment variable. > Note: You can use the config subcommand to create or edit a configuration file located outside the current working directory. @@ -609,27 +610,27 @@ The `--config` direct option has higher priority than the `TONOSCLI_CONFIG` envi You can also separately override [preconfigured network settings](#21-set-the-network-and-parameter-values) for a single subcommand. Use the `--url ` direct option for this purpose: ```bash -tonos-cli --url +ever-cli --url ``` Example: ```bash -tonos-cli --url main.evercloud.dev account
+ever-cli --url main.evercloud.dev account
``` ## 2.7. Force json output -You can force TONOS-CLi to print output in json format. To do so, add `--json` flag before a subcommand: +You can force EVER-CLi to print output in json format. To do so, add `--json` flag before a subcommand: ```bash -tonos-cli --json +ever-cli --json ``` -This option can also be saved in the tonos-cli configuration file: +This option can also be saved in the ever-cli configuration file: ```bash -tonos-cli config --is_json true +ever-cli config --is_json true { "url": "http://127.0.0.1/", "wc": 0, @@ -662,10 +663,10 @@ tonos-cli config --is_json true ## 2.8. Debug on fail option -You can force TONOS-CLi to debug call and run executions if they fail with error code **414**. +You can force EVER-CLi to debug call and run executions if they fail with error code **414**. ```bash -tonos-cli config --debug_fail +ever-cli config --debug_fail ``` Possible values: @@ -678,10 +679,10 @@ Possible values: Yoo can explore and configure current aliases map with the list of commands ```bash -tonos-cli config alias add [--addr ] [--abi ] [--keys ] # add entity to the map -tonos-cli config alias remove # remove entity -tonos-cli config alias reset # clear the map -tonos-cli config alias print # print the current state of the map +ever-cli config alias add [--addr ] [--abi ] [--keys ] # add entity to the map +ever-cli config alias remove # remove entity +ever-cli config alias reset # clear the map +ever-cli config alias print # print the current state of the map ``` Options: @@ -693,8 +694,8 @@ Options: Example: ```bash -$ tonos-cli config alias add msig --addr 0:d5f5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fcd --abi samples/SafeMultisigWallet.abi.json --keys key0.keys.json -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli config alias add msig --addr 0:d5f5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fcd --abi samples/SafeMultisigWallet.abi.json --keys key0.keys.json +Config: /home/user/ever-cli/ever-cli.conf.json { "msig": { "abi_path": "samples/SafeMultisigWallet.abi.json", @@ -702,8 +703,8 @@ Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json "key_path": "key0.keys.json" } } -$ tonos-cli config alias print -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli config alias print +Config: /home/user/ever-cli/ever-cli.conf.json { "msig": { "abi_path": "samples/SafeMultisigWallet.abi.json", @@ -711,8 +712,8 @@ Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json "key_path": "key0.keys.json" } } -$ tonos-cli config alias add msig2 --addr 0:eef5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fff --abi samples/SafeMultisigWallet.abi.json --keys key1.keys.json -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli config alias add msig2 --addr 0:eef5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fff --abi samples/SafeMultisigWallet.abi.json --keys key1.keys.json +Config: /home/user/ever-cli/ever-cli.conf.json { "msig": { "abi_path": "samples/SafeMultisigWallet.abi.json", @@ -725,8 +726,8 @@ Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json "key_path": "key1.keys.json" } } -$ tonos-cli config alias remove msig -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli config alias remove msig +Config: /home/user/ever-cli/ever-cli.conf.json { "msig2": { "abi_path": "samples/SafeMultisigWallet.abi.json", @@ -734,11 +735,11 @@ Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json "key_path": "key1.keys.json" } } -$ tonos-cli config alias reset -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli config alias reset +Config: /home/user/ever-cli/ever-cli.conf.json {} -$ tonos-cli config alias print -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli config alias print +Config: /home/user/ever-cli/ever-cli.conf.json {} ``` @@ -748,7 +749,7 @@ User can increase log level of the tool execution to see more messages. To do it variable `RUST_LOG=debug`: ```bash -$ tonos-cli callx --addr 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3 --abi ../samples/1_Accumulator.abi.json --keys keys/key0 -m add --value 1 +$ ever-cli callx --addr 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3 --abi ../samples/1_Accumulator.abi.json --keys keys/key0 -m add --value 1 Input arguments: address: 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3 method: add @@ -766,7 +767,7 @@ Result: {} # Enable verbose mode $ export RUST_LOG=debug -$ tonos-cli callx --addr 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3 --abi ../samples/1_Accumulator.abi.json --keys keys/key0 -m add --value 1 +$ ever-cli callx --addr 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3 --abi ../samples/1_Accumulator.abi.json --keys keys/key0 -m add --value 1 Input arguments: address: 0:75186644bf5157d1b638390889ec2ba297a12250f6e90d935618918cb82d12c3 method: add @@ -824,7 +825,7 @@ Result: {} To generate a mnemonic seed phrase enter the following command: ```bash -tonos-cli genphrase [--dump ] +ever-cli genphrase [--dump ] ``` Options: @@ -834,12 +835,12 @@ Options: Example: ```bash -$ tonos-cli genphrase -Config: /home/user/tonos-cli.conf.json +$ ever-cli genphrase +Config: /home/user/ever-cli.conf.json Succeeded. Seed phrase: "rule script joy unveil chaos replace fox recipe hedgehog heavy surge online" -$ tonos-cli genphrase --dump /tmp/1.key +$ ever-cli genphrase --dump /tmp/1.key Succeeded. Seed phrase: "resist immune key jar lunar snake real vintage chicken radar famous cinnamon" Keypair successfully saved to /tmp/1.key. @@ -852,7 +853,7 @@ Keypair saved to /tmp/1.key To generate a public key from a seed phrase enter the following command with the seed phrase in quotes: ```bash -tonos-cli genpubkey "rule script joy unveil chaos replace fox recipe hedgehog heavy surge online" +ever-cli genpubkey "rule script joy unveil chaos replace fox recipe hedgehog heavy surge online" ``` The generated QR code also contains the public key. @@ -860,8 +861,8 @@ The generated QR code also contains the public key. Example: ```bash -$ tonos-cli genpubkey "rule script joy unveil chaos replace fox recipe hedgehog heavy surge online" -Config: /home/user/tonos-cli.conf.json +$ ever-cli genpubkey "rule script joy unveil chaos replace fox recipe hedgehog heavy surge online" +Config: /home/user/ever-cli.conf.json Succeeded. Public key: 88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340 @@ -874,7 +875,7 @@ Public key: 88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340 To create a key pair file from a seed phrase use the following command: ```bash -tonos-cli getkeypair [-o ] [-p ""] +ever-cli getkeypair [-o ] [-p ""] ``` `` - the file the key pair will be written to. If not specified keys will be printed to the stdout. @@ -882,16 +883,16 @@ tonos-cli getkeypair [-o ] [-p ""] Example: ```bash -$ tonos-cli getkeypair -o key.json -p "rule script joy unveil chaos replace fox recipe hedgehog heavy surge online" -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli getkeypair -o key.json -p "rule script joy unveil chaos replace fox recipe hedgehog heavy surge online" +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: key_file: key.json phrase: rule script joy unveil chaos replace fox recipe hedgehog heavy surge online Keypair successfully saved to key.json. Succeeded. -$ tonos-cli getkeypair -o key.json -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli getkeypair -o key.json +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: key_file: key.json phrase: None @@ -901,8 +902,8 @@ Keypair successfully saved to key.json. Succeeded. -$ tonos-cli getkeypair -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli getkeypair +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: key_file: None phrase: None @@ -914,7 +915,7 @@ Keypair: { } Succeeded. -$ tonos-cli -j getkeypair +$ ever-cli -j getkeypair { "public": "09889cd2f085a693ef04a6dad4b6533c7019014a7e0ca9b5b146e66e550973d9", "secret": "021196259435d54dfb5c41970db5bcfc2306d59877665c3b573486d441cf021a" @@ -923,7 +924,7 @@ $ tonos-cli -j getkeypair # 4. Smart contract commands -When working with smart contracts, TONOS-CLI requires the following files: +When working with smart contracts, EVER-CLI requires the following files: - **ABI file** - a .json file that describes the contract interface, the methods and parameters used to interact with it. - **TVC file** - the compiled smart contract file. Used only when generating contract address and deploying contract code to the blockchain. @@ -939,12 +940,12 @@ Contract address is generated based on contract TVC file and selected keys. To g > **Note**: For contracts with ABI 2.4, you should use the flag `--save` to insert the deployment public key into the TCV file. -> **Note**: If your contract has static variables, they can be initialized through [TVM linker](https://github.com/tonlabs/TVM-linker#5-initialize-static-variables-in-compiled-contract) before deployment. +> **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. Use the following command to generate the contract address: ```bash -tonos-cli genaddr [--genkey|--setkey ] [--wc ] [--abi ] [--save] [--data ] +ever-cli genaddr [--genkey|--setkey ] [--wc ] [--abi ] [--save] [--data ] ``` Options: @@ -953,7 +954,7 @@ Options: > Note: if you use --genkey, the corresponding seed phrase will be displayed. Write it down, if you mean to keep using this key pair. -`--abi ` - contract ABI interface file. If not specified tonos-cli can use ABI path from config of obtained from tvc path (for `.tvc` checks `.abi.json`). +`--abi ` - contract ABI interface file. If not specified ever-cli can use ABI path from config of obtained from tvc path (for `.tvc` checks `.abi.json`). `--setkey ` - 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. @@ -965,13 +966,13 @@ Options: `` - compiled smart contract file. -As a result tonos-cli displays the new contract address (`Raw address`). +As a result ever-cli displays the new contract address (`Raw address`). -Example ([multisignature wallet](https://github.com/tonlabs/ton-labs-contracts/tree/master/solidity/safemultisig) address generation for the masterchain): +Example ([multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig) address generation for the masterchain): ```bash -$ tonos-cli genaddr --genkey key.json --wc -1 SafeMultisigWallet.tvc --abi SafeMultisigWallet.abi.json -Config: /home/user/tonos-cli.conf.json +$ ever-cli genaddr --genkey key.json --wc -1 SafeMultisigWallet.tvc --abi SafeMultisigWallet.abi.json +Config: /home/user/ever-cli.conf.json Input arguments: tvc: SafeMultisigWallet.tvc wc: -1 @@ -999,7 +1000,7 @@ Succeeded Use the following command to deploy a contract: ```bash -tonos-cli deploy [--sign ] [--wc ] [--abi ] [--alias ] +ever-cli deploy [--sign ] [--wc ] [--abi ] [--alias ] ``` `` - 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. @@ -1021,13 +1022,13 @@ or Sometimes it can be not obvious in which way method parameters should be specified, especially if it is a large structure with different and complex fields. -It is generally described in [abi doc](https://github.com/tonlabs/ton-labs-abi/blob/master/docs/ABI_2.1_spec.md). -Example ([multisignature wallet](https://github.com/tonlabs/ton-labs-contracts/tree/master/solidity/safemultisig) +It is generally described in [abi doc](https://github.com/everx-labs/ever-abi/blob/master/docs/ABI_2.1_spec.md). +Example ([multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig) contract deployment to the masterchain): ```bash -$ tonos-cli deploy --sign key.json --wc -1 --abi SafeMultisigWallet.abi.json SafeMultisigWallet.tvc '{"owners":["0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340"],"reqConfirms":1}' -Config: /home/user/tonos-cli.conf.json +$ ever-cli deploy --sign key.json --wc -1 --abi SafeMultisigWallet.abi.json SafeMultisigWallet.tvc '{"owners":["0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340"],"reqConfirms":1}' +Config: /home/user/ever-cli.conf.json Input arguments: tvc: SafeMultisigWallet.tvc params: {"owners":["0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340"],"reqConfirms":1} @@ -1046,7 +1047,7 @@ If needed, signed deploy message can be generated without immediately broadcasti message can be sent later. ```bash -tonos-cli deploy_message [--raw] [--output ] [--signature_id ] [--sign ] [--wc ] [--abi ] +ever-cli deploy_message [--raw] [--output ] [--signature_id ] [--sign ] [--wc ] [--abi ] ``` `--raw` - use to create raw message boc. @@ -1073,11 +1074,11 @@ or `` - deploy command parameters, depend on the contract. -Example (saving to a file [multisignature wallet](https://github.com/tonlabs/ton-labs-contracts/tree/master/solidity/safemultisig) contract deployment message to the masterchain): +Example (saving to a file [multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig) contract deployment message to the masterchain): ```bash -$ tonos-cli deploy_message --raw --output deploy.boc --sign key.json --wc -1 --abi SafeMultisigWallet.abi.json SafeMultisigWallet.tvc '{"owners":["0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340"],"reqConfirms":1}' -Config: /home/user/tonos-cli.conf.json +$ ever-cli deploy_message --raw --output deploy.boc --sign key.json --wc -1 --abi SafeMultisigWallet.abi.json SafeMultisigWallet.tvc '{"owners":["0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340"],"reqConfirms":1}' +Config: /home/user/ever-cli.conf.json Input arguments: tvc: SafeMultisigWallet.tvc params: {"owners":["0x88c541e9a1c173069c89bcbcc21fa2a073158c1bd21ca56b3eb264bba12d9340"],"reqConfirms":1} @@ -1097,7 +1098,7 @@ Succeeded. You may use the following command to check the current status of a contract: ```bash -tonos-cli account [--boc] [--dumptvc ] [--dumpboc ] +ever-cli account [--boc] [--dumptvc ] [--dumpboc ] ``` `` - contract [addresses](#41-generate-contract-address), if not specified address is taken from the config file. @@ -1108,8 +1109,8 @@ tonos-cli account [--boc] [--dumptvc ] [--dumpboc Example: ```bash -$ tonos-cli account 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 0:14014af4a374bdd13dae2379063ea2597634c2c2fc8e99ca9eab431a7ab6f566 0:f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12 -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli account 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 0:14014af4a374bdd13dae2379063ea2597634c2c2fc8e99ca9eab431a7ab6f566 0:f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12 +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: addresses: 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13, 0:14014af4a374bdd13dae2379063ea2597634c2c2fc8e99ca9eab431a7ab6f566, 0:f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12 Connecting to net.evercloud.dev @@ -1134,8 +1135,8 @@ code_hash: eee7d3331153dce4aa938e3bcdc922467fa215c77f56bbea1debfa8583d22f9c 0:f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12 not found -$ tonos-cli account 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli account 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: addresses: 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 Connecting to net.evercloud.dev @@ -1156,7 +1157,7 @@ code_hash: ccbfc821853aa641af3813ebd477e26818b51e4ca23e5f6d34509215aa7123d9 ### 4.4.1. Call contract on the blockchain ```bash -tonos-cli call [--abi ] [--sign ] [--saved_config ]
+ever-cli call [--abi ] [--sign ] [--saved_config ]
``` `` - contract interface file. @@ -1181,13 +1182,13 @@ or format. Sometimes it can be not obvious in which way method parameters should be specified, especially if it is a large structure with different and complex fields. -It is generally described in [abi doc](https://github.com/tonlabs/ton-labs-abi/blob/master/docs/ABI_2.1_spec.md). +It is generally described in [abi doc](https://github.com/everx-labs/ever-abi/blob/master/docs/ABI_2.1_spec.md). -Example (transaction creation in a [multisignature wallet](https://github.com/tonlabs/ton-labs-contracts/tree/master/solidity/safemultisig) contract): +Example (transaction creation in a [multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig) contract): ```bash -$ tonos-cli call 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc submitTransaction '{"dest":"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6","value":234000000,"bounce":false,"allBalance":false,"payload":""}' --abi SetcodeMultisigWallet.abi.json --sign k1.keys.json -Config: /home/user/tonos-cli.conf.json +$ ever-cli call 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc submitTransaction '{"dest":"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6","value":234000000,"bounce":false,"allBalance":false,"payload":""}' --abi SetcodeMultisigWallet.abi.json --sign k1.keys.json +Config: /home/user/ever-cli.conf.json Input arguments: address: 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc method: submitTransaction @@ -1208,12 +1209,12 @@ Result: { } ``` -**Note**: If your function is marked as [responsible](https://github.com/tonlabs/TON-Solidity-Compiler/blob/master/API.md#external-function-calls), TONOS-CLI expects `_answer_id` field, and you may encounter errors, if it's missing. +**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. ### 4.4.2. Run contract method locally ```bash -tonos-cli run [--abi ]
+ever-cli run [--abi ]
``` `` - contract interface file. @@ -1225,13 +1226,13 @@ tonos-cli run [--abi ]
`` - parameters of the called method. Sometimes it can be not obvious in which way method parameters should be specified, especially if it is a large structure with different and complex fields. -It is generally described in [abi doc](https://github.com/tonlabs/ton-labs-abi/blob/master/docs/ABI_2.1_spec.md). +It is generally described in [abi doc](https://github.com/everx-labs/ever-abi/blob/master/docs/ABI_2.1_spec.md). -Example of a transaction list request in a [multisignature wallet](https://github.com/tonlabs/ton-labs-contracts/tree/master/solidity/safemultisig): +Example of a transaction list request in a [multisignature wallet](https://github.com/everx-labs/ton-labs-contracts/tree/master/solidity/safemultisig): ```bash -$ tonos-cli run 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc getTransactions {} --abi SafeMultisigWallet.abi.json -Config: /home/user/tonos-cli.conf.json +$ ever-cli run 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc getTransactions {} --abi SafeMultisigWallet.abi.json +Config: /home/user/ever-cli.conf.json Input arguments: address: 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc method: getTransactions @@ -1269,7 +1270,7 @@ Result: { ### 4.4.3. Run funC get-method ```bash -tonos-cli runget [--boc] [--tvc]
[...] [--bc_config ] +ever-cli runget [--boc] [--tvc]
[...] [--bc_config ] ``` `
` - contract [address](#41-generate-contract-address) or path to the file with: @@ -1282,13 +1283,13 @@ tonos-cli runget [--boc] [--tvc]
[...] [--bc_config < Parameters should be specified separately without json wrap and argument names. `--bc_config ` - this option can be used with `--boc` option to specify the file with the blockchain config -BOC. It can be obtained with [dump blockchain config](#94-dump-blockchain-config) command. +BOC. It can be obtained with [dump blockchain config](#93-dump-blockchain-config) command. Example: ```bash -$ tonos-cli runget -1:3333333333333333333333333333333333333333333333333333333333333333 active_election_id -Config: /home/user/tonos-cli.conf.json +$ ever-cli runget -1:3333333333333333333333333333333333333333333333333333333333333333 active_election_id +Config: /home/user/ever-cli.conf.json Input arguments: address: -1:3333333333333333333333333333333333333333333333333333333333333333 method: active_election_id @@ -1298,8 +1299,8 @@ Running get-method... Succeded. Result: ["1619901678"] -$ tonos-cli runget --boc acc.boc compute_returned_stake 0x0166d0181a19f87af9397040a68671e1b239f12152824f7d987fd6897d6a9587 -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli runget --boc acc.boc compute_returned_stake 0x0166d0181a19f87af9397040a68671e1b239f12152824f7d987fd6897d6a9587 +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: address: acc.boc method: compute_returned_stake @@ -1309,8 +1310,8 @@ Running get-method... Succeeded. Result: ["125387107580525"] -$ tonos-cli runget --tvc acc.tvc compute_returned_stake 0x0166d0181a19f87af9397040a68671e1b239f12152824f7d987fd6897d6a9587 -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli runget --tvc acc.tvc compute_returned_stake 0x0166d0181a19f87af9397040a68671e1b239f12152824f7d987fd6897d6a9587 +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: address: acc.boc method: compute_returned_stake @@ -1326,7 +1327,7 @@ Result: ["125387107580525"] ### 4.4.4. Run contract method locally for saved account BOC ```bash -tonos-cli run [--boc] [--tvc] [--abi ] [--bc_config ] [--saved_config ] +ever-cli run [--boc] [--tvc] [--abi ] [--bc_config ] [--saved_config ] ``` `` - contract interface file. @@ -1346,8 +1347,8 @@ BOC. It can be obtained with [dump blockchain config](#93-dump-blockchain-config Example: ```bash -$ tonos-cli run --boc tests/depool_acc.boc getData '{}' --abi tests/samples/fakeDepool.abi.json -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli run --boc tests/depool_acc.boc getData '{}' --abi tests/samples/fakeDepool.abi.json +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: account: tests/depool_acc.boc method: getData @@ -1365,8 +1366,8 @@ Result: { "value": "1000000000" } -$ tonos-cli run --tvc tests/depool_acc.tvc getData '{}' --abi tests/samples/fakeDepool.abi.json -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli run --tvc tests/depool_acc.tvc getData '{}' --abi tests/samples/fakeDepool.abi.json +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: account: tests/depool_acc.boc method: getData @@ -1391,7 +1392,7 @@ Result: { An internet connection is not required to create an encrypted message. Use the following command to do it: ```bash -tonos-cli message [--raw] [--output ] [--signature_id ] [--abi ] [--sign ]
[--lifetime ] +ever-cli message [--raw] [--output ] [--signature_id ] [--abi ] [--sign ]
[--lifetime ] ``` `--raw` - use to create raw message boc. @@ -1420,13 +1421,13 @@ or `lifetime` – message lifetime in seconds. Once this time elapses, the message will not be accepted by the contract. -The TONOS-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. +The 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. Example (raw boc of create new multisig transaction message with a lifetime of 1 hour saved to file): ```bash -$ tonos-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 -Config: /home/user/tonos-cli.conf.json +$ 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 +Config: /home/user/ever-cli.conf.json Input arguments: address: 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc method: submitTransaction @@ -1447,18 +1448,18 @@ Message saved to file message.boc Use the following command to send a previously generated message, that is not in raw format, and not in a file: ```bash -tonos-cli send [--abi ] "" +ever-cli send [--abi ] "" ``` `` - contract interface file. -`` – the content of the message generated by the TONOS-CLI utility during message creation. It should be enclosed in double quotes. +`` – the content of the message generated by the EVER-CLI utility during message creation. It should be enclosed in double quotes. Example: ```bash -$ tonos-cli send --abi SafeMultisigWallet.abi.json "7b226d7367223a7b226d6573736167655f6964223a2266363364666332623030373065626264386365643265333865373832386630343837326465643036303735376665373430376534393037646266663338626261222c226d657373616765223a227465366363674542424145413051414252596742534d553677767679593746624464704a365a5748706b4c7846304545726f4b4a36775165555369536633674d41514868757856507a324c5376534e663344454a2f374866653165562f5a78324d644e6b4b727770323865397a7538376a4d6e7275374c48685965367642523141756c48784b44446e4e62344f47686768386e6b6b7a48386775456e7551422f655a61324d326d32546539794234723636447a61364c34635258306f744a4b465661434177414141586c4d464e7077594a61616b524d64677332414341574f663459757151715976325233654e776d49655834517048686e37537a75624c76524838657931425a6a617a6a414141414141414141414141414141414a4d61735142414d4141413d3d222c22657870697265223a313632303438323730352c2261646472657373223a22303a61343632396436313764663933316438616438366564323466346361633364333231373838626130383235373431343466353832306632383934343933666263227d2c226d6574686f64223a227375626d69745472616e73616374696f6e227d" -Config: /home/user/tonos-cli.conf.json +$ ever-cli send --abi SafeMultisigWallet.abi.json "7b226d7367223a7b226d6573736167655f6964223a2266363364666332623030373065626264386365643265333865373832386630343837326465643036303735376665373430376534393037646266663338626261222c226d657373616765223a227465366363674542424145413051414252596742534d553677767679593746624464704a365a5748706b4c7846304545726f4b4a36775165555369536633674d41514868757856507a324c5376534e663344454a2f374866653165562f5a78324d644e6b4b727770323865397a7538376a4d6e7275374c48685965367642523141756c48784b44446e4e62344f47686768386e6b6b7a48386775456e7551422f655a61324d326d32546539794234723636447a61364c34635258306f744a4b465661434177414141586c4d464e7077594a61616b524d64677332414341574f663459757151715976325233654e776d49655834517048686e37537a75624c76524838657931425a6a617a6a414141414141414141414141414141414a4d61735142414d4141413d3d222c22657870697265223a313632303438323730352c2261646472657373223a22303a61343632396436313764663933316438616438366564323466346361633364333231373838626130383235373431343466353832306632383934343933666263227d2c226d6574686f64223a227375626d69745472616e73616374696f6e227d" +Config: /home/user/ever-cli.conf.json Input arguments: message: 7b226d7367223a7b226d6573736167655f6964223a2266363364666332623030373065626264386365643265333865373832386630343837326465643036303735376665373430376534393037646266663338626261222c226d657373616765223a227465366363674542424145413051414252596742534d553677767679593746624464704a365a5748706b4c7846304545726f4b4a36775165555369536633674d41514868757856507a324c5376534e663344454a2f374866653165562f5a78324d644e6b4b727770323865397a7538376a4d6e7275374c48685965367642523141756c48784b44446e4e62344f47686768386e6b6b7a48386775456e7551422f655a61324d326d32546539794234723636447a61364c34635258306f744a4b465661434177414141586c4d464e7077594a61616b524d64677332414341574f663459757151715976325233654e776d49655834517048686e37537a75624c76524838657931425a6a617a6a414141414141414141414141414141414a4d61735142414d4141413d3d222c22657870697265223a313632303438323730352c2261646472657373223a22303a61343632396436313764663933316438616438366564323466346361633364333231373838626130383235373431343466353832306632383934343933666263227d2c226d6574686f64223a227375626d69745472616e73616374696f6e227d abi: SafeMultisigWallet.abi.json @@ -1487,7 +1488,7 @@ Result: { Use the following command to send a previously generated message, that is stored in a .boc file: ```bash -tonos-cli sendfile +ever-cli sendfile ``` `` – path to the file where the message was saved. @@ -1495,8 +1496,8 @@ tonos-cli sendfile Example: ```bash -$ tonos-cli sendfile /home/user/ton/message.boc -Config: /home/user/tonos-cli.conf.json +$ ever-cli sendfile /home/user/ton/message.boc +Config: /home/user/ever-cli.conf.json Input arguments: boc: /home/user/ton/message.boc Connecting to net.evercloud.dev @@ -1511,7 +1512,7 @@ Succeded. Use the following command to decode previously generated messages in .boc files. ```bash -tonos-cli decode msg --abi +ever-cli decode msg --abi ``` `` - contract ABI file. @@ -1521,8 +1522,8 @@ tonos-cli decode msg --abi Example: ```bash -$ tonos-cli decode msg --abi SafeMultisigWallet.abi.json /home/user/ton/message.boc -Config: /home/user/tonos-cli.conf.json +$ ever-cli decode msg --abi SafeMultisigWallet.abi.json /home/user/ton/message.boc +Config: /home/user/ever-cli.conf.json Input arguments: msg: /home/user/ton/message.boc abi: SafeMultisigWallet.abi.json @@ -1547,7 +1548,7 @@ submitTransaction: { Use the following command to decode previously generated message body (can be obtained by decoding message .boc file). ```bash -tonos-cli decode body --abi "" +ever-cli decode body --abi "" ``` `` - contract interface file. @@ -1555,8 +1556,8 @@ tonos-cli decode body --abi "" `` - Message body encoded as base64. ```bash -$ tonos-cli decode body --abi SafeMultisigWallet.abi.json "te6ccgEBAwEAqwAB4diOBnSVls3D8/zEb/Uj6hIfwKrdG2uRyCWmWx+mpFtdbaZNBcTW3yS3QiwLR8NgoqLcqoDsGwDA/RbrJLen+wXhJ7kAf3mWtjNptk3vcgeK+ug82ui+HEV9KLSShVWggMAAAF5S//FEWCWlSsTHYLNgAQFjn+GLqkKmL9kd3jcJiHl+EKR4Z+0s7my70R/HstQWY2s4wAAAAAAAAAAAAAAAAb5R0AQCAAA=" -Config: /home/user/tonos-cli.conf.json +$ ever-cli decode body --abi SafeMultisigWallet.abi.json "te6ccgEBAwEAqwAB4diOBnSVls3D8/zEb/Uj6hIfwKrdG2uRyCWmWx+mpFtdbaZNBcTW3yS3QiwLR8NgoqLcqoDsGwDA/RbrJLen+wXhJ7kAf3mWtjNptk3vcgeK+ug82ui+HEV9KLSShVWggMAAAF5S//FEWCWlSsTHYLNgAQFjn+GLqkKmL9kd3jcJiHl+EKR4Z+0s7my70R/HstQWY2s4wAAAAAAAAAAAAAAAAb5R0AQCAAA=" +Config: /home/user/ever-cli.conf.json Input arguments: body: te6ccgEBAwEAqwAB4diOBnSVls3D8/zEb/Uj6hIfwKrdG2uRyCWmWx+mpFtdbaZNBcTW3yS3QiwLR8NgoqLcqoDsGwDA/RbrJLen+wXhJ7kAf3mWtjNptk3vcgeK+ug82ui+HEV9KLSShVWggMAAAF5S//FEWCWlSsTHYLNgAQFjn+GLqkKmL9kd3jcJiHl+EKR4Z+0s7my70R/HstQWY2s4wAAAAAAAAAAAAAAAAb5R0AQCAAA= abi: SafeMultisigWallet.abi.json @@ -1576,8 +1577,8 @@ submitTransaction: { Use the following command to decode data fields of the contract. ```bash -tonos-cli decode account data --abi --addr -tonos-cli decode account data --abi --tvc +ever-cli decode account data --abi --addr +ever-cli decode account data --abi --tvc ``` `` - contract interface file. @@ -1586,8 +1587,8 @@ Contract address on blockchain or path to the file with contract's StateInit can with options `--addr` and `--tvc` respectively. ```bash -$ tonos-cli decode account data --abi tests/test_abi_v2.1.abi.json --tvc tests/decode_fields.tvc -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli decode account data --abi tests/test_abi_v2.1.abi.json --tvc tests/decode_fields.tvc +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: tvc: tests/decode_fields.tvc abi: tests/test_abi_v2.1.abi.json @@ -1615,7 +1616,7 @@ Use the following command to decode data from the file with BOC of the account a StateInit to a separate file if needed. ```bash -tonos-cli decode account boc [--dumptvc ] +ever-cli decode account boc [--dumptvc ] ``` `` - path to the file with BOC of the account. E.g. it can be obtained from @@ -1623,8 +1624,8 @@ the TON Live. `--dumptvc ` - this flag can be specified to dump account StateInit to the file. ```bash -$ tonos-cli decode account boc tests/account.boc --dumptvc acc.tvc -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli decode account boc tests/account.boc --dumptvc acc.tvc +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: boc: tests/account.boc tvc_path: acc.tvc @@ -1648,7 +1649,7 @@ state_init: StateInit can be decoded for network account or file with account BOC or TVC. ```bash -tonos-cli decode stateinit [--tvc] [--boc] +ever-cli decode stateinit [--tvc] [--boc] ``` `` - depending on the flags this parameter should contain: @@ -1657,8 +1658,8 @@ tonos-cli decode stateinit [--tvc] [--boc] - contract network address otherwise. ```bash -$ tonos-cli decode stateinit --boc account.boc -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli decode stateinit --boc account.boc +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: input: account.boc Decoded data: @@ -1675,7 +1676,7 @@ Decoded data: "lib": "" } -$ tonos-cli decode stateinit --tvc fakeDepool.tvc +$ ever-cli decode stateinit --tvc fakeDepool.tvc Config: default Input arguments: input: fakeDepool.tvc @@ -1693,8 +1694,8 @@ Decoded data: "lib": "" } -$ tonos-cli decode stateinit 989439e29664a71e57a21bff0ff9896b5e58018fcac32e83fade913c4f43479e -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli decode stateinit 989439e29664a71e57a21bff0ff9896b5e58018fcac32e83fade913c4f43479e +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: input: 989439e29664a71e57a21bff0ff9896b5e58018fcac32e83fade913c4f43479e Connecting to http://127.0.0.1/ @@ -1718,7 +1719,7 @@ Decoded data: Use the following command to generate payload for internal function call: ```bash -tonos-cli body [--abi ] +ever-cli body [--abi ] ``` `` - contract interface file. @@ -1730,8 +1731,8 @@ tonos-cli body [--abi ] Example: ```bash -$ tonos-cli body submitTransaction '{"dest":"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6","value":234000000,"bounce":false,"allBalance":false,"payload":""}' --abi SetcodeMultisigWallet.abi.json -Config: /home/user/tonos-cli.conf.json +$ ever-cli body submitTransaction '{"dest":"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6","value":234000000,"bounce":false,"allBalance":false,"payload":""}' --abi SetcodeMultisigWallet.abi.json +Config: /home/user/ever-cli.conf.json Input arguments: method: submitTransaction params: {"dest":"-1:0c5d5215317ec8eef1b84c43cbf08523c33f69677365de88fe3d96a0b31b59c6","value":234000000,"bounce":false,"allBalance":false,"payload":""} @@ -1742,48 +1743,48 @@ Message body: te6ccgEBAgEAOwABaxMdgs2f4YuqQqYv2R3eNwmIeX4QpHhn7SzubLvRH8ey1BZjaz ## 4.10. Alternative syntax for call, deploy and run commands -To facilitate usage of tonos-cli use commands `callx`, `runx` and `deployx` instead of `call`, `run` and `deploy`. +To facilitate usage of ever-cli use commands `callx`, `runx` and `deployx` instead of `call`, `run` and `deploy`. These alternative syntax commands have almost the same syntax as classic, but allow to specify address, abi and keys options in the config file. Also, this commands allow to skip params option if command doesn't need it. Examples: ```bash # specify options manually -tonos-cli callx --keys giver.key --abi giver.abi.json --addr 0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 -m sendGrams --dest 841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 --amount 1000000000 +ever-cli callx --keys giver.key --abi giver.abi.json --addr 0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 -m sendGrams --dest 841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 --amount 1000000000 # options are taken from the config -tonos-cli config --abi giver.abi.json --addr 0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 --keys giver.key -tonos-cli callx -m sendGrams --dest 841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 --amount 1000000000 +ever-cli config --abi giver.abi.json --addr 0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 --keys giver.key +ever-cli callx -m sendGrams --dest 841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94 --amount 1000000000 # if contract function or constructor doesn't take arguments, parameters can be skipped -tonos-cli deployx contract.tvc -tonos-cli runx -m getParameters +ever-cli deployx contract.tvc +ever-cli runx -m getParameters # method and parameters can be specified in config -tonos-cli config --method add --parameters '{"value":1}' --addr 0:41af055743c85ba58fcaead78fa45b017f265c9351b5275ad76bf58be11760fd --abi ../samples/1_Accumulator.abi.json --keys keys/key0 -tonos-cli callx -tonos-cli config --method sum --parameters '{}' -tonos-cli runx +ever-cli config --method add --parameters '{"value":1}' --addr 0:41af055743c85ba58fcaead78fa45b017f265c9351b5275ad76bf58be11760fd --abi ../samples/1_Accumulator.abi.json --keys keys/key0 +ever-cli callx +ever-cli config --method sum --parameters '{}' +ever-cli runx ``` -If some parameters have names equal to options, use can tell the tonos-cli that you have started mentioning parameters +If some parameters have names equal to options, use can tell the ever-cli that you have started mentioning parameters by using empty `--`. Examples: ```bash # abi, addr, keys and method are specified as options and after `--` they are specified again as arguments. -tonos-cli callx --abi arguments.abi.json --addr 0:62c2040f7f7406732037c1856e91732be3f9907b94fb34f53ba664ba94b228f6 --keys argument.key --method add -- --addr 2 --keys 3 --abi 4 --method 5 +ever-cli callx --abi arguments.abi.json --addr 0:62c2040f7f7406732037c1856e91732be3f9907b94fb34f53ba664ba94b228f6 --keys argument.key --method add -- --addr 2 --keys 3 --abi 4 --method 5 # 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. -tonos-cli callx -- --addr 2 --keys 3 --abi 4 --method 5 +ever-cli callx -- --addr 2 --keys 3 --abi 4 --method 5 ``` # 5. DeBot commands -TONOS-CLI has a built-in DeBot browser, which is regularly updated with the most recent versions of DEngine . +EVER-CLI has a built-in DeBot browser, which is regularly updated with the most recent versions of DEngine . To call a DeBot, use the following command: ```bash -tonos-cli debot fetch <--debug> +ever-cli debot fetch <--debug> ``` `` - address of the DeBot contract. @@ -1793,8 +1794,8 @@ tonos-cli debot fetch <--debug> Example: ```bash -$ tonos-cli debot fetch 0:09403116d2d04f3d86ab2de138b390f6ec1b0bc02363dbf006953946e807051e -Config: /home/user/tonos-cli.conf.json +$ ever-cli debot fetch 0:09403116d2d04f3d86ab2de138b390f6ec1b0bc02363dbf006953946e807051e +Config: /home/user/ever-cli.conf.json Connecting to net.evercloud.dev DeBot Info: Name : Multisig @@ -1822,7 +1823,7 @@ no need of ABI files. Use the following command to send tokens to any recipient: ```bash -tonos-cli multisig send --addr --dest --purpose <"text_in_quotes"> --sign --value *number* [--v2] +ever-cli multisig send --addr --dest --purpose <"text_in_quotes"> --sign --value *number* [--v2] ``` `` - address of the multisig wallet that tokens are sent from. @@ -1840,8 +1841,8 @@ tonos-cli multisig send --addr --dest --pur Example: ```bash -$ tonos-cli multisig send --addr 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --dest 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc --purpose "test transaction" --sign key.json --value 6 -Config: /home/user/tonos-cli.conf.json +$ ever-cli multisig send --addr 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --dest 0:a4629d617df931d8ad86ed24f4cac3d321788ba082574144f5820f2894493fbc --purpose "test transaction" --sign key.json --value 6 +Config: /home/user/ever-cli.conf.json Connecting to net.evercloud.dev Generating external inbound message... @@ -1859,7 +1860,7 @@ Result: { Use the following command to deploy a multisignature wallet: ```bash -tonos-cli multisig deploy [--setcode] [--v2] [--owners ] [--confirms ] [--local ] --keys +ever-cli multisig deploy [--setcode] [--v2] [--owners ] [--confirms ] [--local ] --keys ``` `--setcode` - flag that changes type of the wallet to the SetcodeMultisigWallet. If not specified, a SafeMultisigWallet is deployed. @@ -1879,8 +1880,8 @@ List of owners must be specified by their public keys in hex format, split by th Example: ```bash -$ tonos-cli multisig deploy -k "young tell target alter sport dignity enforce improve pottery fashion alert genuine" --local 1_000_000_000 -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli multisig deploy -k "young tell target alter sport dignity enforce improve pottery fashion alert genuine" --local 1_000_000_000 +Config: /home/user/ever-cli/ever-cli.conf.json Wallet address: 0:4d892e63989c1c0ad64b0bbe22e8d036b0da271c19b6686d01bd29a99dcbc86d Connecting to http://127.0.0.1/ Expire at: Mon, 13 Sep 2021 14:55:29 +0300 @@ -1890,25 +1891,25 @@ Wallet successfully deployed Wallet address: 0:4d892e63989c1c0ad64b0bbe22e8d036b0da271c19b6686d01bd29a99dcbc86d # deploy with owners -tonos-cli multisig deploy -l 5000000000 -c 2 -o 8b445b0feab10b9abf4e039d649348ec8662e3673fe9c37b7208c4d9d04c9b3f,ddc5bc7198c90feb75d9ce09e1b1f25a7e14a252fef31b50fac048c6ac3ee46c -k test.key +ever-cli multisig deploy -l 5000000000 -c 2 -o 8b445b0feab10b9abf4e039d649348ec8662e3673fe9c37b7208c4d9d04c9b3f,ddc5bc7198c90feb75d9ce09e1b1f25a7e14a252fef31b50fac048c6ac3ee46c -k test.key ``` # 7. DePool commands -## 7.1. Configure TONOS-CLI for DePool operations +## 7.1. Configure EVER-CLI for DePool operations For all commands listed below, the DePool address, the wallet making the stake, the amount of fee to pay for DePool's -services and the path to the keyfile/seed phrase may be specified in the TONOS-CLI config file in advance: +services and the path to the keyfile/seed phrase may be specified in the EVER-CLI config file in advance: ```bash -tonos-cli config --addr
--wallet
--no-answer true | false --keys --depool_fee +ever-cli config --addr
--wallet
--no-answer true | false --keys --depool_fee ``` `--addr
` - the address of the DePool `--wallet
` - the address of the wallet making the stake -`--no-answer true | false` - no-answer flag, which determines, whether TONOS-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. +`--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. `` - either the keyfile for the wallet making the stake, or the seed phrase in quotes @@ -1917,7 +1918,7 @@ tonos-cli config --addr
--wallet
--no-answer true | false -- Example: ```bash -tonos-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 +ever-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 ``` In this case all DePool commands allow to omit `--addr`, `--wallet`, `--wait-answer` and `--sign` options. @@ -1927,8 +1928,8 @@ Below is an example of similar DePool commands with and without waiting for DePo With waiting for DePool answer: ```bash -$ tonos-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf stake ordinary --value 25 --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json --wait-answer -Config: /home/user/tonos-cli.conf.json +$ ever-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf stake ordinary --value 25 --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json --wait-answer +Config: /home/user/ever-cli.conf.json Input arguments: depool: 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf wallet: 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 @@ -1963,8 +1964,8 @@ Done Same command without waiting for DePool answer: ```bash -$ tonos-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf stake ordinary --value 25 --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json -Config: /home/user/tonos-cli.conf.json +$ ever-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf stake ordinary --value 25 --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json +Config: /home/user/ever-cli.conf.json Input arguments: depool: 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf wallet: 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 @@ -1999,7 +2000,7 @@ Ordinary stake must exceed DePool minimum stake. Check DePool's page on [ton.liv the minimum stake. ```bash -tonos-cli depool [--addr ] stake ordinary [--wallet ] --value [--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] stake ordinary [--wallet ] --value [--sign ] [--wait-answer] [--v2] ``` `` - address of the DePool contract. @@ -2010,14 +2011,14 @@ all --value parameters must be defined in tons, like this: `--value 10.5`, which `` - either the keyfile for the wallet making the stake, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-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" +ever-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" ``` ### 7.2.2. Vesting stake @@ -2032,7 +2033,7 @@ unauthorized vestings from blocking the beneficiary from receiving an expected v - set the donor address with the following command: ```bash -tonos-cli depool [--addr ] donor vesting [--wallet ] --donor [--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] donor vesting [--wallet ] --donor [--sign ] [--wait-answer] [--v2] ``` `` - address of the DePool contract. @@ -2043,14 +2044,14 @@ tonos-cli depool [--addr ] donor vesting [--wallet ` - either the keyfile for the beneficiary wallet, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-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" +ever-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" ``` Not the whole stake is available to the beneficiary at once. Instead, it is split into parts and the next part of stake @@ -2066,7 +2067,7 @@ stake should exceed `validatorAssurance` *2. Similarly, to ensure any vesting st **Donor uses the following command to make a vesting stake:** ```bash -tonos-cli depool [--addr ] stake vesting [--wallet ] --value --total --withdrawal --beneficiary
[--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] stake vesting [--wallet ] --value --total --withdrawal --beneficiary
[--sign ] [--wait-answer] [--v2] ``` Where @@ -2087,14 +2088,14 @@ all `--value` parameters must be defined in tons, like this: `--value 10.5`, whi `` - either the keyfile for the donor wallet making the stake, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-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" +ever-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" ``` > 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. @@ -2112,7 +2113,7 @@ beneficiary from receiving an expected lock stake from a known address. - set the donor address with the following command: ```bash -tonos-cli depool [--addr ] donor lock [--wallet ] --donor [--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] donor lock [--wallet ] --donor [--sign ] [--wait-answer] [--v2] ``` Where @@ -2125,14 +2126,14 @@ Where `` - either the keyfile for the beneficiary wallet, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-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" +ever-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" ``` Like vesting stake, lock stake can be configured to be unlocked in parts at the end of each round that coincides with @@ -2148,7 +2149,7 @@ should equal `validatorAssurance` *2. Similarly, to ensure any vesting stake is **Donor uses the following command to make a lock stake:** ```bash -tonos-cli depool [--addr ] stake lock [--wallet ] --value --total --withdrawal --beneficiary
[--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] stake lock [--wallet ] --value --total --withdrawal --beneficiary
[--sign ] [--wait-answer] [--v2] ``` Where @@ -2169,14 +2170,14 @@ all `--value` parameters must be defined in tons, like this: `--value 10.5`, whi `key_file or seed_phrase` - either the keyfile for the donor wallet making the stake, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-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" +ever-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" ``` > 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. @@ -2186,7 +2187,7 @@ tonos-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2 This command removes an ordinary stake from a pooling round (while it has not been staked in the Elector yet): ```bash -tonos-cli depool [--addr ] stake remove [--wallet ] --value [--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] stake remove [--wallet ] --value [--sign ] [--wait-answer] [--v2] ``` Where @@ -2199,14 +2200,14 @@ all `--value` parameters must be defined in tons, like this: `--value 10.5`, whi `` - either the keyfile for the wallet making the stake, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-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" +ever-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" ``` ## 7.4. Transfer stakes @@ -2216,7 +2217,7 @@ the stake is transferred, the transferring wallet is removed from the list of pa receiving wallet isn't listed among the participants, it will become a participant as the result of the command. ```bash -tonos-cli depool [--addr ] stake transfer [--wallet ] --value --dest
[--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] stake transfer [--wallet ] --value --dest
[--sign ] [--wait-answer] [--v2] ``` Where @@ -2231,14 +2232,14 @@ all `--value` parameters must be defined in tons, like this: `--value 10.5`, whi `` - either the keyfile for the wallet making the stake, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace stake transfer --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --value 1000 --dest 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --sign "dizzy modify exotic daring gloom rival pipe disagree again film neck fuel" +ever-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace stake transfer --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --value 1000 --dest 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --sign "dizzy modify exotic daring gloom rival pipe disagree again film neck fuel" ``` > Note: Stakes cannot be transferred from or to DePool's validator wallet, and between any wallets during round completion step. @@ -2252,7 +2253,7 @@ available. Use `withdraw on` to receive the stake, once it's unlocked. If you th reinvesting it every round, run the command with `withdraw off`. ```bash -tonos-cli depool [--addr ] withdraw on | off [--wallet ] [--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] withdraw on | off [--wallet ] [--sign ] [--wait-answer] [--v2] ``` Where @@ -2263,14 +2264,14 @@ Where `` - either the keyfile for the wallet that made the stake, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace withdraw on --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --sign "dizzy modify exotic daring gloom rival pipe disagree again film neck fuel" +ever-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace withdraw on --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --sign "dizzy modify exotic daring gloom rival pipe disagree again film neck fuel" ``` ### 7.5.2. Withdraw part of the stake @@ -2280,7 +2281,7 @@ becomes available. If, as result of this withdrawal, participant's ordinary stak participant's whole stake is sent to participant. ```bash -tonos-cli depool [--addr ] stake withdrawPart [--wallet ] --value [--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] stake withdrawPart [--wallet ] --value [--sign ] [--wait-answer] [--v2] ``` Where @@ -2293,14 +2294,14 @@ all `--value` parameters must be defined in tons, like this: `--value 10.5`, whi `` - either the keyfile for the wallet that made the stake, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace stake withdrawPart --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --value 1000 --sign "dizzy modify exotic daring gloom rival pipe disagree again film neck fuel" +ever-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace stake withdrawPart --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --value 1000 --sign "dizzy modify exotic daring gloom rival pipe disagree again film neck fuel" ``` ## 7.6. Reinvest Stakes @@ -2312,7 +2313,7 @@ remains set to `no`. To re-enable ordinary stake reinvesting after withdrawing a option `off`: ```bash -tonos-cli depool [--addr ] withdraw off [--wallet ] [--sign ] [--wait-answer] [--v2] +ever-cli depool [--addr ] withdraw off [--wallet ] [--sign ] [--wait-answer] [--v2] ``` `` - address of the DePool contract. @@ -2321,14 +2322,14 @@ tonos-cli depool [--addr ] withdraw off [--wallet `` - either the keyfile for the wallet that made the stake, or the seed phrase in quotes. -`--wait-answer` - optional flag, which forces TONOS-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. +`--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. `--v2` - optional flag, force to interpret wallet as multisig v2. Example: ```bash -tonos-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace withdraw off --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --sign "dizzy modify exotic daring gloom rival pipe disagree again film neck fuel" +ever-cli depool --addr 0:37fbcb6e3279cbf5f783d61c213ed20fee16e0b1b94a48372d20a2596b700ace withdraw off --wallet 0:1b91c010f35b1f5b42a05ad98eb2df80c302c37df69651e1f5ac9c69b7e90d4e --sign "dizzy modify exotic daring gloom rival pipe disagree again film neck fuel" ``` **Note:** @@ -2345,7 +2346,7 @@ distributed, DePool sends the participant a message with the relevant details. U messages: ```bash -tonos-cli depool --addr answers --wallet [--since ] +ever-cli depool --addr answers --wallet [--since ] ``` `` - address of the DePool contract. @@ -2357,8 +2358,8 @@ tonos-cli depool --addr answers --wallet [--sinc Example: ```bash -$ tonos-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf answers --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 -Config: /home/user/tonos-cli.conf.json +$ ever-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf answers --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 +Config: /home/user/ever-cli.conf.json Connecting to net.evercloud.dev 34 answers found Answer: @@ -2375,7 +2376,7 @@ Various events occurring in the DePool are broadcasted to the blockchain and can to view them: ```bash -tonos-cli depool [--addr ] events [--since ] +ever-cli depool [--addr ] events [--since ] ``` `` - address of the DePool contract. @@ -2385,8 +2386,8 @@ tonos-cli depool [--addr ] events [--since ] Example: ```bash -$ tonos-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf events --since 1619803870 -Config: /home/user/tonos-cli.conf.json +$ ever-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf events --since 1619803870 +Config: /home/user/ever-cli.conf.json Input arguments: depool: 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf since: 1619803870 @@ -2410,10 +2411,10 @@ Done To wait for a new event, use the following command: ```bash -tonos-cli depool [--addr ] events --wait-one +ever-cli depool [--addr ] events --wait-one ``` -TONOS-CLI waits until new event will be emitted and then prints it to terminal. +EVER-CLI waits until new event will be emitted and then prints it to terminal. ## 7.9. Replenish DePool balance @@ -2422,7 +2423,7 @@ some cases, when normal operation is interrupted, DePool balance may drop lower. DePool balance (this is not counted towards any stake): ```bash -tonos-cli depool [--addr ] replenish --value *number* [--wallet ] [--sign ] [--v2] +ever-cli depool [--addr ] replenish --value *number* [--wallet ] [--sign ] [--v2] ``` `` - address of the DePool contract. @@ -2438,8 +2439,8 @@ all `--value` parameters must be defined in tons, like this: `--value 150.5`, wh Example: ```bash -$ tonos-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf replenish --value 5 --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json -Config: /home/user/tonos-cli.conf.json +$ ever-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf replenish --value 5 --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json +Config: /home/user/ever-cli.conf.json Input arguments: depool: 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf wallet: 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 @@ -2460,11 +2461,11 @@ Result: { ## 7.10. Send ticktock to DePool To operate correctly, DePool needs to receive regular ticktock (state update) calls. One way to set them up, is through -a TONOS-CLI with the use of a multisig wallet. Use the following command to send a ticktock call (you may set up a +a EVER-CLI with the use of a multisig wallet. Use the following command to send a ticktock call (you may set up a script to run this command regularly): ```bash -tonos-cli depool [--addr ] ticktock [--wallet ] [--sign ] [--v2] +ever-cli depool [--addr ] ticktock [--wallet ] [--sign ] [--v2] ``` - `--addr ` - the address of the DePool @@ -2477,8 +2478,8 @@ tonos-cli depool [--addr ] ticktock [--wallet ] [- Example: ```bash -$ tonos-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf ticktock --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json -Config: /home/user/tonos-cli.conf.json +$ ever-cli depool --addr 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf ticktock --wallet 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 --sign key.json +Config: /home/user/ever-cli.conf.json Input arguments: depool: 0:127ae93241278304fff6b7e5b7b182fd382b6e95b200551061a7354e032e50bf wallet: 0:255a3ad9dfa8aa4f3481856aafc7d79f47d50205190bd56147138740e9b177f3 @@ -2505,7 +2506,7 @@ The following commands are used when voting for various FreeTON proposals at Use the following command: ```bash -tonos-cli proposal create "" +ever-cli proposal create "" ``` `` - address of judge wallet. @@ -2526,7 +2527,7 @@ communicated to them. Receive proposal transaction ID and use the following command to cast a vote: ```bash -tonos-cli proposal vote +ever-cli proposal vote ``` `` - address of judge wallet. @@ -2543,7 +2544,7 @@ transaction is executed and the proposal is considered approved. Use the following command to read the proposal comment added when the proposal transaction was created: ```bash -tonos-cli proposal decode +ever-cli proposal decode ``` `` - address of judge wallet. @@ -2555,7 +2556,7 @@ tonos-cli proposal decode ## 9.1. Get global config ```bash -tonos-cli getconfig [] +ever-cli getconfig [] ``` Options: @@ -2565,8 +2566,8 @@ Options: Example (requesting the maximum and minimum numbers of validators on the blockchain): ```bash -$ tonos-cli getconfig 16 -Config: /home/user/tonos-cli.conf.json +$ ever-cli getconfig 16 +Config: /home/user/ever-cli.conf.json Input arguments: index: 16 Connecting to net.evercloud.dev @@ -2582,7 +2583,7 @@ Config p16: { The following command calculates node ID from validator public key: ```bash -tonos-cli nodeid --pubkey | --keypair +ever-cli nodeid --pubkey | --keypair ``` `` - public key of the validator wallet. @@ -2592,8 +2593,8 @@ tonos-cli nodeid --pubkey | --keypair +ever-cli dump config ``` `` - path where to save the blockchain config dump. @@ -2611,8 +2612,8 @@ tonos-cli dump config Example: ```bash -$ tonos-cli dump config config.boc -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli dump config config.boc +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: path: config.boc Connecting to main.evercloud.dev @@ -2624,7 +2625,7 @@ Config successfully saved to config.boc Dumps the list of accounts. Files will have address without workchain id as a name. ```bash -tonos-cli dump account [--path ] +ever-cli dump account [--path ] ``` `` - list of account addresses. Addresses should be specified separately with space delimiter. @@ -2635,8 +2636,8 @@ Example: `0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 0:1 Example: ```bash -$ tonos-cli dump account 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 0:14014af4a374bdd13dae2379063ea2597634c2c2fc8e99ca9eab431a7ab6f566 f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12 3333333333333333333333333333333333333333333333333333333333333333 -Config: /home/user/TONLabs/tonos-cli/tonos-cli.conf.json +$ ever-cli dump account 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 0:14014af4a374bdd13dae2379063ea2597634c2c2fc8e99ca9eab431a7ab6f566 f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12 3333333333333333333333333333333333333333333333333333333333333333 +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: addresses: 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13, 0:14014af4a374bdd13dae2379063ea2597634c2c2fc8e99ca9eab431a7ab6f566, 0:f89d946b5b4b8a06f01dc20dceef30caff844d5285abea8a21ad3730c0f3dd12, 0:3333333333333333333333333333333333333333333333333333333333333333 path: None @@ -2654,7 +2655,7 @@ Succeeded. Use the following command to update one parameter of the blockchain global config, that is stored in a .json file: ```bash -tonos-cli update_config +ever-cli update_config ``` `` – current seqno of config contract. It can get from command `seqno` on config account. @@ -2677,8 +2678,8 @@ Example of new_param_file Example: ```bash -$ tonos-cli update_config 9 config-master example.json -Config: /home/user/tonos-cli/tonos-cli.conf.json +$ ever-cli update_config 9 config-master example.json +Config: /home/user/ever-cli/ever-cli.conf.json Input arguments: seqno: 9 config_master: config-master @@ -2692,7 +2693,7 @@ Message: b5ee9c720101020100850001e589feaaaaaaaaaaaaa... The command `account-wait` waits for the change of the `last_trans_lt` account field. It exits with zero exit code upon success (the field has changed before timeout). Otherwise, it exits with non-zero code. ```bash -tonos-cli account-wait
[--timeout ] +ever-cli account-wait
[--timeout ] ``` `
` - address of account to wait for. @@ -2702,7 +2703,7 @@ tonos-cli account-wait
[--timeout ] Example: ```bash -$ tonos-cli account-wait --timeout 10 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 +$ ever-cli account-wait --timeout 10 0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13 ... Succeeded. $ echo $? @@ -2715,7 +2716,7 @@ The command `query-raw` executes a raw network query by directly calling the `to interface. ```bash -tonos-cli query-raw [--filter ] [--limit ] [--order ] +ever-cli query-raw [--filter ] [--limit ] [--order ] ``` See relevant SDK documentation to learn about the command's parameters. @@ -2723,7 +2724,7 @@ See relevant SDK documentation to learn about the command's parameters. Examples: ```bash -$ tonos-cli --json query-raw accounts "id bits cells" --filter '{ "id": { "eq": "0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13" } }' +$ ever-cli --json query-raw accounts "id bits cells" --filter '{ "id": { "eq": "0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13" } }' [ { "id": "0:2bb4a0e8391e7ea8877f4825064924bd41ce110fce97e939d3323999e1efbb13", @@ -2732,7 +2733,7 @@ $ tonos-cli --json query-raw accounts "id bits cells" --filter '{ "id": { "eq": } ] -$ tonos-cli --json query-raw accounts "id bits cells" --order '[ { "path": "balance", "direction": "DESC" } ]' --limit 3 +$ ever-cli --json query-raw accounts "id bits cells" --order '[ { "path": "balance", "direction": "DESC" } ]' --limit 3 [ { "id": "-1:7777777777777777777777777777777777777777777777777777777777777777", @@ -2761,10 +2762,10 @@ This commands allow user to learn how much funds smart contract can consume. ### 9.8.1. Call fee command This command executes smart contract call locally, calculates fees and prints table of all fees in nanotons. -Command has the same option as [tonos-cli call](#441-call-contract-on-the-blockchain) command: +Command has the same option as [ever-cli call](#441-call-contract-on-the-blockchain) command: ```bash -tonos-cli fee call [--abi ] [--sign ] [--saved_config ]
+ever-cli fee call [--abi ] [--sign ] [--saved_config ]
``` `` - contract interface file. @@ -2783,7 +2784,7 @@ format. Example: ```bash -tonos-cli --json fee call --abi tests/samples/giver_v2.abi.json 0:ece57bcc6c530283becbbd8a3b24d3c5987cdddc3c8b7b33be6e4a6312490415 --sign tests/samples/giver_v2.key sendTransaction '{"dest":"0:ece57bcc6c530283becbbd8a3b24d3c5987cdddc3c8b7b33be6e4a6312490415","value":1000000,"bounce":false}' +ever-cli --json fee call --abi tests/samples/giver_v2.abi.json 0:ece57bcc6c530283becbbd8a3b24d3c5987cdddc3c8b7b33be6e4a6312490415 --sign tests/samples/giver_v2.key sendTransaction '{"dest":"0:ece57bcc6c530283becbbd8a3b24d3c5987cdddc3c8b7b33be6e4a6312490415","value":1000000,"bounce":false}' Not set rand_seed_block { "in_msg_fwd_fee": "2237000", @@ -2798,10 +2799,10 @@ Not set rand_seed_block ### 9.8.2. Deploy fee command This command executes smart contract deploy locally, calculates fees and prints table of all fees in nanotons. -Command has the same option as [tonos-cli deploy](#42-deploy-contract) command: +Command has the same option as [ever-cli deploy](#42-deploy-contract) command: ```bash -tonos-cli fee deploy [--sign ] [--wc ] [--abi ] +ever-cli fee deploy [--sign ] [--wc ] [--abi ] ``` `` - 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. @@ -2818,7 +2819,7 @@ tonos-cli fee deploy [--sign ] [--wc ] [--abi ]
+ever-cli fee storage [--period ]
``` `` - Time period in seconds (default value is 1 year). @@ -2845,7 +2846,7 @@ tonos-cli fee storage [--period ]
Example: ```bash -tonos-cli --json fee storage --period 1000000 0:ece57bcc6c530283becbbd8a3b24d3c5987cdddc3c8b7b33be6e4a6312490415 +ever-cli --json fee storage --period 1000000 0:ece57bcc6c530283becbbd8a3b24d3c5987cdddc3c8b7b33be6e4a6312490415 { "storage_fee": "332978", "period": "1000000" @@ -2862,19 +2863,19 @@ Example: 1) Dump blockchain config history to the file. ```bash -$ tonos-cli fetch -- -1:5555555555555555555555555555555555555555555555555555555555555555 config.txns +$ ever-cli fetch -- -1:5555555555555555555555555555555555555555555555555555555555555555 config.txns ``` 2) Dump account transactions from the network to the file. ```bash -$ tonos-cli fetch 0:570ddeb8f632e5f9fde198dd4a799192f149f01c8fd360132b38b04bb7761c5d 570ddeb8.txns +$ ever-cli fetch 0:570ddeb8f632e5f9fde198dd4a799192f149f01c8fd360132b38b04bb7761c5d 570ddeb8.txns ``` where `0:570ddeb8f632e5f9fde198dd4a799192f149f01c8fd360132b38b04bb7761c5d` is an example of account address, `570ddeb8.txns` - name of the output file. ```bash -$ tonos-cli replay [-e] [-c config.txns] 570ddeb8.txns 197ee1fe7876d4e2987b5dd24fb6701e76d76f9d08a5eeceb7fe8ca73d9b8270 +$ ever-cli replay [-e] [-c config.txns] 570ddeb8.txns 197ee1fe7876d4e2987b5dd24fb6701e76d76f9d08a5eeceb7fe8ca73d9b8270 ``` Transaction can be replayed with config using option `-c` or with the current network config (option `-e`). @@ -2885,7 +2886,7 @@ be restored. Note 1: last command generates 3 files. The file with the longest name in the form of `-.boc` is a replayed and serialized Account state. -Note 2: to get StateInit (tvc) from Account state use `tonos-cli decode account boc` command with `--dumptvc` option. +Note 2: to get StateInit (tvc) from Account state use `ever-cli decode account boc` command with `--dumptvc` option. ### 10.1. How to unfreeze account @@ -2898,7 +2899,7 @@ deploy the extracted tvc to the frozen account. Send 1 ton to its address and th Example: -`tonos-cli --url main.evercloud.dev call 0:51616debd4296a4598530d57c10a630db6dc677ecbe1500acaefcfdb9c596c64 deploy --abi deployer.abi.json "{\"stateInit\":\"$(cat state.tvc | base64 -w 0)\",\"value\":500000000,\"dest\":\"-1:618272d6b15fd8f1eaa3cdb61ab9d77ae47ebbfcf7f28d495c727d0e98d523eb\"}"` +`ever-cli --url main.evercloud.dev call 0:51616debd4296a4598530d57c10a630db6dc677ecbe1500acaefcfdb9c596c64 deploy --abi deployer.abi.json "{\"stateInit\":\"$(cat state.tvc | base64 -w 0)\",\"value\":500000000,\"dest\":\"-1:618272d6b15fd8f1eaa3cdb61ab9d77ae47ebbfcf7f28d495c727d0e98d523eb\"}"` where `dest` - an address of frozen account, `state.tvc` - extracted account StateInit in step 2. @@ -2938,7 +2939,7 @@ Deployer.abi.json: This command allow user to fetch block and save it to the output file. ```bash -tonos-cli fetch-block +ever-cli fetch-block ``` Options: @@ -2949,12 +2950,12 @@ Options: ## 11. Debug commands Debug commands allow user to replay transaction locally or execute a function call locally and obtain TVM trace. -More about debug flow is written in [Debug.md](https://github.com/tonlabs/tonos-cli/blob/master/Debug.md). +More about debug flow is written in [Debug.md](https://github.com/everx-labs/ever-cli/blob/master/Debug.md). ### 11.1. Debug transaction ```bash -tonos-cli debug transaction [FLAGS] [OPTIONS] +ever-cli debug transaction [FLAGS] [OPTIONS] ``` FLAGS: @@ -2994,8 +2995,8 @@ execution if the contract needs config is to reuse dump of config transactions b Example: ```bash -$ tonos-cli debug transaction -o tvm_trace.log 74acbd354e605519d799c7e1e90e52030e8f9e781453e48ecad18bb035fe1586 --empty-config -Config: /home/user/TONLabs/sol2tvm/scripts/tonos-cli.conf.json +$ ever-cli debug transaction -o tvm_trace.log 74acbd354e605519d799c7e1e90e52030e8f9e781453e48ecad18bb035fe1586 --empty-config +Config: /home/user/sol2tvm/scripts/ever-cli.conf.json Input arguments: address: 0:e5b3856d4d6b45f33ea625b9c4d949c601b8b6fb60fe6b968c5c0e5000a6aa78 tx_id: 74acbd354e605519d799c7e1e90e52030e8f9e781453e48ecad18bb035fe1586 @@ -3012,7 +3013,7 @@ Log saved to tvm_trace.log. ### 11.2. Debug call ```bash -tonos-cli debug call [FLAGS] [OPTIONS] [--addr
] [-m ] +ever-cli debug call [FLAGS] [OPTIONS] [--addr
] [-m ] ``` FLAGS: @@ -3057,7 +3058,7 @@ in format of account BOC or pure StateInit TVC. If contract is passed via TVC fi with `--address ` option. Also, execution timestamp can be specified with option `--now `. ```bash -$ tonos-cli debug call --addr 0:2eb2365dba1bff21d786d7ceeb9b9641149709790c7b83337ef9e2fb528c69cb --abi ../samples/2_StorageClient.abi.json --keys keys/key0 -o call.log -m store -- --storageAddress 0:e59d5eee37b399eea0121eac2571d3762779ba88f1c575863f0ed1595caed0e8 --value 257 +$ ever-cli debug call --addr 0:2eb2365dba1bff21d786d7ceeb9b9641149709790c7b83337ef9e2fb528c69cb --abi ../samples/2_StorageClient.abi.json --keys keys/key0 -o call.log -m store -- --storageAddress 0:e59d5eee37b399eea0121eac2571d3762779ba88f1c575863f0ed1595caed0e8 --value 257 Input arguments: input: 0:2eb2365dba1bff21d786d7ceeb9b9641149709790c7b83337ef9e2fb528c69cb method: store @@ -3076,7 +3077,7 @@ Log saved to call.log ### 11.3. Debug run ```bash -tonos-cli debug run [FLAGS] [OPTIONS] [--addr
] [-m ] +ever-cli debug run [FLAGS] [OPTIONS] [--addr
] [-m ] ``` FLAGS: @@ -3111,10 +3112,10 @@ ARGUMENTS: `` Function arguments. Must be specified in [alternative manner](#410-alternative-syntax-for-call-deploy-and-run-commands) or can be passed as a file path. -This command is similar to `tonos-cli debug call` but allows user to debug get methods. +This command is similar to `ever-cli debug call` but allows user to debug get methods. ```bash -$ tonos-cli debug run --addr 0:2eb2365dba1bff21d786d7ceeb9b9641149709790c7b83337ef9e2fb528c69cb --abi ../samples/2_UintStorage.abi.json -o run.log -m value +$ ever-cli debug run --addr 0:2eb2365dba1bff21d786d7ceeb9b9641149709790c7b83337ef9e2fb528c69cb --abi ../samples/2_UintStorage.abi.json -o run.log -m value Input arguments: input: 0:2eb2365dba1bff21d786d7ceeb9b9641149709790c7b83337ef9e2fb528c69cb method: value @@ -3133,7 +3134,7 @@ Log saved to run.log ### 11.4. Debug replay transaction on the saved account state ```bash - tonos-cli debug replay [FLAGS] [OPTIONS] + ever-cli debug replay [FLAGS] [OPTIONS] ``` FLAGS: @@ -3162,7 +3163,7 @@ This command allows replay transaction on the saved account state. This can be u transaction execution on the contract state, whose code was replaced to a new one using TVM_LINKER. ```bash -$ tonos-cli debug replay --min_trace --update -d 2_StorageClient.dbg.json2 --decode_abi 2_UintStorage.abi.json -o trace2.log 82733d3ddf7cae1d3fa07ec5ce288b7febf3bffd9d229a8e538f62fac10eec3e contract.boc +$ ever-cli debug replay --min_trace --update -d 2_StorageClient.dbg.json2 --decode_abi 2_UintStorage.abi.json -o trace2.log 82733d3ddf7cae1d3fa07ec5ce288b7febf3bffd9d229a8e538f62fac10eec3e contract.boc Config: default Input arguments: input: contract.boc @@ -3178,7 +3179,7 @@ Log saved to trace2.log ### 11.5. Debug deploy ```bash -tonos-cli debug deploy [FLAGS] [OPTIONS] +ever-cli debug deploy [FLAGS] [OPTIONS] ``` FLAGS: @@ -3218,7 +3219,7 @@ specified). ### 11.6. Debug message ```bash -$ tonos-cli debug message [--boc] [--addr ] [-u] [-o ] +$ ever-cli debug message [--boc] [--addr ] [-u] [-o ] ``` FLAGS: @@ -3249,7 +3250,7 @@ ARGUMENTS: This command allows to play message on the contract state locally with trace. It can be useful when user wants to play contract interaction locally. User can call one contract locally with -`tonos-cli debug call` and find output messages in trace log: +`ever-cli debug call` and find output messages in trace log: ```log Output messages: @@ -3275,14 +3276,14 @@ Output messages: } ``` -`Message_base64` then can be passed to `tonos-cli debug message` to play it on another account. +`Message_base64` then can be passed to `ever-cli debug message` to play it on another account. ### 11.7. Debug account Allows to debug transaction of the specified account ```bash -$ tonos-cli debug account [--addr ] [-o ] [FLAGS] [OPTIONS] +$ ever-cli debug account [--addr ] [-o ] [FLAGS] [OPTIONS] ``` FLAGS: @@ -3312,7 +3313,7 @@ OPTIONS: Example: ```bash -$ tonos-cli debug account -e --addr 0:2eb2365dba1bff21d786d7ceeb9b9641149709790c7b83337ef9e2fb528c69cb +$ ever-cli debug account -e --addr 0:2eb2365dba1bff21d786d7ceeb9b9641149709790c7b83337ef9e2fb528c69cb Input arguments: address: 0:2eb2365dba1bff21d786d7ceeb9b9641149709790c7b83337ef9e2fb528c69cb trace_path: ./trace.log @@ -3353,7 +3354,7 @@ Log saved to ./trace.log. ### 11.8. Render UML sequence diagram ```bash - tonos-cli debug sequence-diagram + ever-cli debug sequence-diagram ``` `` File containing a list of account addresses, one address per line. Blank lines and lines starting with # character are ignored. @@ -3385,9 +3386,9 @@ used by commands `callx` and `runx` instead of address (`--addr`) for more conve Example workflow: ```bash -$ tonos-cli deployx --abi ../samples/1_Accumulator.abi.json --keys keys/key0 --alias accum ../samples/1_Accumulator.tvc +$ ever-cli deployx --abi ../samples/1_Accumulator.abi.json --keys keys/key0 --alias accum ../samples/1_Accumulator.tvc {} -$ tonos-cli config alias print +$ ever-cli config alias print { "accum": { "abi_path": "../samples/1_Accumulator.abi.json", @@ -3395,13 +3396,13 @@ $ tonos-cli config alias print "key_path": "keys/key0" } } -$ tonos-cli runx --addr accum -m sum +$ ever-cli runx --addr accum -m sum { "sum": "0x0000000000000000000000000000000000000000000000000000000000000000" } -$ tonos-cli callx --addr accum -m add --value 255 +$ ever-cli callx --addr accum -m add --value 255 {} -$ tonos-cli runx --addr accum -m sum +$ ever-cli runx --addr accum -m sum { "sum": "0x00000000000000000000000000000000000000000000000000000000000000ff" } @@ -3409,17 +3410,17 @@ $ tonos-cli runx --addr accum -m sum ## 13. Evercloud authentication -Starting from version 0.28.1 tonos-cli can perform [Evercloud](https://dashboard.evercloud.dev/) +Starting from version 0.28.1 ever-cli can perform [Evercloud](https://dashboard.evercloud.dev/) (url: `https://dashboard.evercloud.dev/`) authentication. To use it user can specify config parameters: ``` --access_key Project secret or JWT in Evercloud (dashboard.evercloud.dev). --project_id Project Id in Evercloud (dashboard.evercloud.dev). -$ tonos-cli config --project_id 1233316546 --access_key 8465465413246 +$ ever-cli config --project_id 1233316546 --access_key 8465465413246 Succeeded. { - "url": "sdk2.dev.tonlabs.io", + "url": "sdk2.dev.everx.dev", "wc": 0, "addr": null, "method": null, @@ -3453,7 +3454,7 @@ Currently `mainnet.evercloud.dev` and `devnet.evercloud.dev` networks require a unauthenticated connection with such error: ```bash -$ tonos-cli account -1:3333333333333333333333333333333333333333333333333333333333333333 +$ ever-cli account -1:3333333333333333333333333333333333333333333333333333333333333333 Input arguments: addresses: -1:3333333333333333333333333333333333333333333333333333333333333333 Connecting to: @@ -3471,7 +3472,7 @@ This can be fixed by using valid `project_id` and `access_key`. They can be obta Example (Note: this authentication credentials are placed just for demonstration and can't be used for real networks): ```bash -$ tonos-cli config --project_id b2ad82504ff54fccb5bc6db8cbb3df1e --access_key 27377ff9027d4de792f100eb869e18e8 +$ ever-cli config --project_id b2ad82504ff54fccb5bc6db8cbb3df1e --access_key 27377ff9027d4de792f100eb869e18e8 Succeeded. { "url": "main.evercloud.dev", @@ -3501,7 +3502,7 @@ Succeeded. "https://mainnet.evercloud.dev" ] } -user@user-ZenBook:~/TONLabs/tonos-cli/target$ tonos-cli account -1:3333333333333333333333333333333333333333333333333333333333333333 +user@user-ZenBook:~/ever-cli/target$ ever-cli account -1:3333333333333333333333333333333333333333333333333333333333333333 Input arguments: addresses: -1:3333333333333333333333333333333333333333333333333333333333333333 Connecting to: @@ -3533,18 +3534,18 @@ Connecting to: ## 14. Sold -Starting from version 0.29.1 [sold](https://github.com/tonlabs/TON-Solidity-Compiler/tree/master/sold) functionality was -added to the tonos-cli. To use it one should build tonos-cli with corresponding feature: +Starting from version 0.29.1 [sold](https://github.com/everx-labs/TON-Solidity-Compiler/tree/master/sold) functionality was +added to the ever-cli. To use it one should build ever-cli with corresponding feature: ```bash $ cargo build --release -F sold ``` -tonos-cli build with such feature has command `compile solidity` which can compile source files with -[Solidity](https://github.com/tonlabs/TON-Solidity-Compiler) code. +ever-cli build with such feature has command `compile solidity` which can compile source files with +[Solidity](https://github.com/everx-labs/TON-Solidity-Compiler) code. ```bash -tonos-cli compile solidity [FLAGS] [OPTIONS] +ever-cli compile solidity [FLAGS] [OPTIONS] ``` FLAGS: @@ -3576,7 +3577,7 @@ ARGS: Example: ```bash -$ tonos-cli compile solidity tests/samples/1_Accumulator.sol --genkey contract.key +$ ever-cli compile solidity tests/samples/1_Accumulator.sol --genkey contract.key Contract successfully compiled. Saved to file 1_Accumulator.tvc. Contract initial hash: 2712519fefb219d76d640028943fe76287a280e3a9e75a0700147cea4e1b94c6 Path to the TVC file: ./1_Accumulator.tvc diff --git a/archive.sh b/archive.sh index a7de2fe0..1ba8e0c4 100644 --- a/archive.sh +++ b/archive.sh @@ -1,3 +1,3 @@ -cp target/release/tonos-cli . -tar -cvzf tonos-cli_v$1_linux.tar.gz tonos-cli -rm tonos-cli \ No newline at end of file +cp target/release/ever-cli . +tar -cvzf ever-cli_v$1_linux.tar.gz ever-cli +rm ever-cli \ No newline at end of file diff --git a/src/completion.rs b/src/completion.rs index 5d572fa5..a9ccafd5 100644 --- a/src/completion.rs +++ b/src/completion.rs @@ -59,7 +59,7 @@ pub struct Config { pub endpoints: Vec, } -const CONFIG_BASE_NAME: &str = "tonos-cli.conf.json"; +const CONFIG_BASE_NAME: &str = "ever-cli.conf.json"; fn print_paths(prefix: &str) { let folder = if !prefix.contains('/') { diff --git a/src/debug.rs b/src/debug.rs index 4fa89fa1..e2d1fbbb 100644 --- a/src/debug.rs +++ b/src/debug.rs @@ -1145,7 +1145,7 @@ pub async fn execute_debug( last_tr_lt: u64, is_getter: bool, is_tock: bool, - tonos_config: &Config, + ever_config: &Config, ) -> Result { let bc_config = if is_getter { let mut config = bc_config.raw_config().to_owned(); @@ -1181,7 +1181,7 @@ pub async fn execute_debug( block_lt, last_tr_lt: Arc::new(AtomicU64::new(last_tr_lt)), debug: true, - trace_callback: Some(generate_callback(matches, tonos_config)), + trace_callback: Some(generate_callback(matches, ever_config)), ..ExecuteParams::default() }; diff --git a/src/helpers.rs b/src/helpers.rs index 3f18b046..b05ad080 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -38,8 +38,8 @@ use crate::replay::{CONFIG_ADDR, construct_blockchain_config}; pub const HD_PATH: &str = "m/44'/396'/0'/0/0"; pub const WORD_COUNT: u8 = 12; -const CONFIG_BASE_NAME: &str = "tonos-cli.conf.json"; -const GLOBAL_CONFIG_PATH: &str = ".tonos-cli.global.conf.json"; +const CONFIG_BASE_NAME: &str = "ever-cli.conf.json"; +const GLOBAL_CONFIG_PATH: &str = ".ever-cli.global.conf.json"; pub fn default_config_name() -> String { env::current_dir() @@ -736,7 +736,7 @@ pub fn contract_data_from_matches_or_config_alias( } pub fn blockchain_config_from_default_json() -> Result { - // Default config params from evernode-se https://github.com/tonlabs/evernode-se/blob/master/docker/ton-node/blockchain.conf.json + // Default config params from evernode-se https://github.com/everx-labs/evernode-se/blob/master/docker/ton-node/blockchain.conf.json let json = r#"{ "p0": "5555555555555555555555555555555555555555555555555555555555555555", "p1": "3333333333333333333333333333333333333333333333333333333333333333", diff --git a/src/main.rs b/src/main.rs index 958e39f9..a4dd40a3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -487,7 +487,7 @@ async fn main_internal() -> Result <(), String> { .help("Disables wait for transaction to appear in the network after call command.")) .arg(Arg::with_name("DEBUG_FAIL") .long("--debug_fail") - .help("When enabled tonos-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'.")) + .help("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'.")) .arg(Arg::with_name("OUT_OF_SYNC") .long("--out_of_sync") .help("Network connection \"out_of_sync_threshold\" parameter in seconds. Mind that it cant exceed half of the \"lifetime\" parameter.")) @@ -633,7 +633,7 @@ async fn main_internal() -> Result <(), String> { .arg(Arg::with_name("DEBUG_FAIL") .long("--debug_fail") .takes_value(true) - .help("When enabled tonos-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'.")) + .help("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'.")) .arg(Arg::with_name("OUT_OF_SYNC") .long("--out_of_sync") .takes_value(true) @@ -676,7 +676,7 @@ async fn main_internal() -> Result <(), String> { .takes_value(true) .conflicts_with("DUMPTVC") .conflicts_with("BOC") - .help("Dumps the whole account state boc to the specified file. Works only if one address was given. Use 'tonos-cli dump account` to dump several accounts.")); + .help("Dumps the whole account state boc to the specified file. Works only if one address was given. Use 'ever-cli dump account` to dump several accounts.")); let account_wait_cmd = SubCommand::with_name("account-wait") .setting(AppSettings::AllowLeadingHyphen) @@ -892,7 +892,7 @@ async fn main_internal() -> Result <(), String> { env!("BUILD_TIME"), env!("BUILD_GIT_DATE"), env!("BUILD_GIT_BRANCH")); - let matches = App::new("tonos_cli") + let matches = App::new("ever_cli") .version(&*version) .author(author) .about("TONLabs console tool for TON") @@ -902,7 +902,7 @@ async fn main_internal() -> Result <(), String> { .long("--url") .takes_value(true)) .arg(Arg::with_name("CONFIG") - .help("Path to the tonos-cli configuration file.") + .help("Path to the ever-cli configuration file.") .short("-c") .long("--config") .takes_value(true)) @@ -979,7 +979,7 @@ async fn main_internal() -> Result <(), String> { async fn command_parser(matches: &ArgMatches<'_>, is_json: bool) -> Result <(), String> { let config_file = matches.value_of("CONFIG").map(|v| v.to_string()) - .or(env::var("TONOSCLI_CONFIG").ok()) + .or(env::var("EVER_CLI_CONFIG").ok()) .unwrap_or(default_config_name()); let mut full_config = FullConfig::from_file(&config_file); @@ -1131,7 +1131,7 @@ async fn command_parser(matches: &ArgMatches<'_>, is_json: bool) -> Result <(), if matches.subcommand_matches("version").is_some() { if config.is_json { println!("{{"); - println!(r#" "tonos-cli": "{}","#, env!("CARGO_PKG_VERSION")); + println!(r#" "ever-cli": "{}","#, env!("CARGO_PKG_VERSION")); println!(r#" "COMMIT_ID": "{}","#, env!("BUILD_GIT_COMMIT")); println!(r#" "BUILD_DATE": "{}","#, env!("BUILD_TIME")); println!(r#" "COMMIT_DATE": "{}","#, env!("BUILD_GIT_DATE")); @@ -1139,7 +1139,7 @@ async fn command_parser(matches: &ArgMatches<'_>, is_json: bool) -> Result <(), println!("}}"); } else { println!( - "tonos-cli {}\nCOMMIT_ID: {}\nBUILD_DATE: {}\nCOMMIT_DATE: {}\nGIT_BRANCH: {}", + "ever-cli {}\nCOMMIT_ID: {}\nBUILD_DATE: {}\nCOMMIT_DATE: {}\nGIT_BRANCH: {}", env!("CARGO_PKG_VERSION"), env!("BUILD_GIT_COMMIT"), env!("BUILD_TIME"), diff --git a/src/multisig.rs b/src/multisig.rs index d5bb88b7..d41b1842 100644 --- a/src/multisig.rs +++ b/src/multisig.rs @@ -25,8 +25,8 @@ use ton_client::abi::{ encode_message_body, Abi, AbiContract, AbiParam, CallSet, ParamsOfEncodeMessageBody, }; -const SAFEMULTISIG_LINK: &str = "https://github.com/tonlabs/ton-labs-contracts/blob/master/solidity/safemultisig/SafeMultisigWallet.tvc?raw=true"; -const SETCODEMULTISIG_LINK: &str = "https://github.com/tonlabs/ton-labs-contracts/blob/master/solidity/setcodemultisig/SetcodeMultisigWallet.tvc?raw=true"; +const SAFEMULTISIG_LINK: &str = "https://github.com/everx-labs/ton-labs-contracts/blob/master/solidity/safemultisig/SafeMultisigWallet.tvc?raw=true"; +const SETCODEMULTISIG_LINK: &str = "https://github.com/everx-labs/ton-labs-contracts/blob/master/solidity/setcodemultisig/SetcodeMultisigWallet.tvc?raw=true"; const SAFEMULTISIG_V2_LINK: &str = "https://github.com/EverSurf/contracts/blob/main/multisig2/build/SafeMultisig.tvc?raw=true"; const SETCODEMULTISIG_V2_LINK: &str = diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 8a986c39..9d12b8c2 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -4,7 +4,7 @@ use std::env; use serde_json::{Value, Map}; use predicates::prelude::*; -pub const BIN_NAME: &str = "tonos-cli"; +pub const BIN_NAME: &str = "ever-cli"; pub const GIVER_ADDR: &str = "0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94"; pub const GIVER_ABI: &str = "tests/samples/giver.abi.json"; pub const GIVER_V2_ADDR: &str = "0:ece57bcc6c530283becbbd8a3b24d3c5987cdddc3c8b7b33be6e4a6312490415"; diff --git a/tests/samples/AddressInput.sol b/tests/samples/AddressInput.sol index 7787309e..de6afbf6 100644 --- a/tests/samples/AddressInput.sol +++ b/tests/samples/AddressInput.sol @@ -3,8 +3,8 @@ pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; import "Debot.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/AddressInput/AddressInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/AddressInput/AddressInput.sol"; contract AddressInputDebot is Debot { address m_addr = address(0xea5be6a13f20fcdfddc2c2b0d317dfeab56718249b090767e5940137b7af89f1); diff --git a/tests/samples/AmountInput.sol b/tests/samples/AmountInput.sol index c88dce83..e960d320 100644 --- a/tests/samples/AmountInput.sol +++ b/tests/samples/AmountInput.sol @@ -3,8 +3,8 @@ pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; import "Debot.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/AmountInput/AmountInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/AmountInput/AmountInput.sol"; contract AmountInputDebot is Debot { diff --git a/tests/samples/ConfirmInput.sol b/tests/samples/ConfirmInput.sol index 9b37cfa4..fbc14c1d 100644 --- a/tests/samples/ConfirmInput.sol +++ b/tests/samples/ConfirmInput.sol @@ -3,8 +3,8 @@ pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; import "Debot.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/ConfirmInput/ConfirmInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/ConfirmInput/ConfirmInput.sol"; contract ConfirmInputDebot is Debot { function start() public override { diff --git a/tests/samples/NumberInput.sol b/tests/samples/NumberInput.sol index fc44b16c..23391da4 100644 --- a/tests/samples/NumberInput.sol +++ b/tests/samples/NumberInput.sol @@ -3,8 +3,8 @@ pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; import "Debot.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/NumberInput/NumberInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/NumberInput/NumberInput.sol"; contract NumberInputDebot is Debot { function start() public override { diff --git a/tests/samples/PipechainTest.sol b/tests/samples/PipechainTest.sol index 31b3cde1..c3b490dc 100644 --- a/tests/samples/PipechainTest.sol +++ b/tests/samples/PipechainTest.sol @@ -2,14 +2,14 @@ pragma ton-solidity >=0.47.0; pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; -import "https://raw.githubusercontent.com/tonlabs/debots/main/Debot.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/ConfirmInput/ConfirmInput.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Menu/Menu.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/AddressInput/AddressInput.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/AmountInput/AmountInput.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/UserInfo/UserInfo.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/SigningBoxInput/SigningBoxInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/debots/main/Debot.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/ConfirmInput/ConfirmInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Menu/Menu.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/AddressInput/AddressInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/AmountInput/AmountInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/UserInfo/UserInfo.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/SigningBoxInput/SigningBoxInput.sol"; import "ICompleted.sol"; contract Invoked is Debot { diff --git a/tests/samples/PipechainTest_2.sol b/tests/samples/PipechainTest_2.sol index 31b3cde1..c3b490dc 100644 --- a/tests/samples/PipechainTest_2.sol +++ b/tests/samples/PipechainTest_2.sol @@ -2,14 +2,14 @@ pragma ton-solidity >=0.47.0; pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; -import "https://raw.githubusercontent.com/tonlabs/debots/main/Debot.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/ConfirmInput/ConfirmInput.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Menu/Menu.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/AddressInput/AddressInput.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/AmountInput/AmountInput.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/UserInfo/UserInfo.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/SigningBoxInput/SigningBoxInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/debots/main/Debot.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/ConfirmInput/ConfirmInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Menu/Menu.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/AddressInput/AddressInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/AmountInput/AmountInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/UserInfo/UserInfo.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/SigningBoxInput/SigningBoxInput.sol"; import "ICompleted.sol"; contract Invoked is Debot { diff --git a/tests/samples/SafeMultisigWallet.sol b/tests/samples/SafeMultisigWallet.sol index dd5871a1..8e1a7689 100644 --- a/tests/samples/SafeMultisigWallet.sol +++ b/tests/samples/SafeMultisigWallet.sol @@ -10,7 +10,7 @@ interface IAccept { } /// @title Multisignature wallet -/// @author Tonlabs (https://tonlabs.io) +/// @author Tonlabs (https://everx.dev) contract MultisigWallet is IAccept { /* diff --git a/tests/samples/Terminal.sol b/tests/samples/Terminal.sol index 004139bc..45f7faa5 100644 --- a/tests/samples/Terminal.sol +++ b/tests/samples/Terminal.sol @@ -3,7 +3,7 @@ pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; import "Debot.sol"; contract TerminalDebot is Debot { diff --git a/tests/samples/sample1.sol b/tests/samples/sample1.sol index 304b8c54..24aaea13 100644 --- a/tests/samples/sample1.sol +++ b/tests/samples/sample1.sol @@ -2,8 +2,8 @@ pragma ton-solidity >=0.40.0; pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/SigningBoxInput/SigningBoxInput.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/SigningBoxInput/SigningBoxInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; import "Sdk.sol"; import "Debot.sol"; diff --git a/tests/samples/sample2.sol b/tests/samples/sample2.sol index 74d515dd..dab65e41 100644 --- a/tests/samples/sample2.sol +++ b/tests/samples/sample2.sol @@ -2,8 +2,8 @@ pragma ton-solidity >=0.45.0; pragma AbiHeader expire; pragma AbiHeader time; pragma AbiHeader pubkey; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/UserInfo/UserInfo.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/UserInfo/UserInfo.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; import "Sdk.sol"; import "Debot.sol"; diff --git a/tests/samples/sample3.sol b/tests/samples/sample3.sol index 80910e97..72b036f2 100644 --- a/tests/samples/sample3.sol +++ b/tests/samples/sample3.sol @@ -4,9 +4,9 @@ pragma AbiHeader time; pragma AbiHeader pubkey; // import required DeBot interfaces and basic DeBot contract. import "Debot.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; -import "Shttps://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Sdk/Sdk.sol"; -import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/EncryptionBoxInput/EncryptionBoxInput.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; +import "Shttps://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/Sdk/Sdk.sol"; +import "https://raw.githubusercontent.com/everx-labs/DeBot-IS-consortium/main/EncryptionBoxInput/EncryptionBoxInput.sol"; contract EncryptionBoxInputDebot is Debot { diff --git a/tests/test_cli.rs b/tests/test_cli.rs index eecf0bbb..25d9c3d3 100644 --- a/tests/test_cli.rs +++ b/tests/test_cli.rs @@ -16,7 +16,7 @@ const DEPOOL_ABI: &str = "tests/samples/fakeDepool.abi.json"; const DEPOOL_ABI_V21: &str = "tests/depool.abi.json"; const DEPOOL_TVC: &str = "tests/samples/fakeDepool.tvc"; const SAFEMSIG_ABI: &str = "tests/samples/SafeMultisigWallet.abi.json"; -const SAFEMSIG_ABI_LINK: &str = "https://raw.githubusercontent.com/tonlabs/ton-labs-contracts/master/solidity/safemultisig/SafeMultisigWallet.abi.json"; +const SAFEMSIG_ABI_LINK: &str = "https://raw.githubusercontent.com/everx-labs/ton-labs-contracts/master/solidity/safemultisig/SafeMultisigWallet.abi.json"; const SAFEMSIG_TVC: &str = "tests/samples/SafeMultisigWallet.tvc"; const SAFEMSIG_SEED: &str = "blanket time net universe ketchup maid way poem scatter blur limit drill"; const SAFEMSIG_ADDR: &str = "0:d5f5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fcd"; @@ -322,7 +322,7 @@ fn test_config_endpoints() -> Result<(), Box> { .arg("endpoint") .arg("add") .arg("myownhost") - .arg("[1.1.1.1,my.net.com,tonlabs.net]"); + .arg("[1.1.1.1,my.net.com,everx-labs.net]"); cmd.assert() .success() .stdout(predicate::str::contains("main.evercloud.dev")) @@ -333,7 +333,7 @@ fn test_config_endpoints() -> Result<(), Box> { .stdout(predicate::str::contains("myownhost")) .stdout(predicate::str::contains("1.1.1.1")) .stdout(predicate::str::contains("my.net.com")) - .stdout(predicate::str::contains("tonlabs.net")); + .stdout(predicate::str::contains("everx-labs.net")); let mut cmd = Command::cargo_bin(BIN_NAME)?; cmd.arg("--config") @@ -346,7 +346,7 @@ fn test_config_endpoints() -> Result<(), Box> { .stdout(predicate::str::contains(r#""url": "myownhost","#)) .stdout(predicate::str::contains("1.1.1.1")) .stdout(predicate::str::contains("my.net.com")) - .stdout(predicate::str::contains("tonlabs.net")); + .stdout(predicate::str::contains("everx-labs.net")); let mut cmd = Command::cargo_bin(BIN_NAME)?; cmd.arg("--config") @@ -409,7 +409,7 @@ fn test_config_endpoints() -> Result<(), Box> { .stdout(predicate::str::contains(r#""url": "myownhost","#)) .stdout(predicate::str::contains("1.1.1.1")) .stdout(predicate::str::contains("my.net.com")) - .stdout(predicate::str::contains("tonlabs.net")); + .stdout(predicate::str::contains("everx-labs.net")); let mut cmd = Command::cargo_bin(BIN_NAME)?; cmd.arg("--config") @@ -870,7 +870,7 @@ fn test_override_config_path() -> Result<(), Box> { .stdout(predicate::str::contains("Url: https://test.ton.dev")); // config from env variable let mut cmd = Command::cargo_bin(BIN_NAME)?; - cmd.env("TONOSCLI_CONFIG", "./tests/conf2.json") + cmd.env("EVER_CLI_CONFIG", "./tests/conf2.json") .arg("account") .arg("0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94"); cmd.assert() @@ -881,7 +881,7 @@ fn test_override_config_path() -> Result<(), Box> { let mut cmd = Command::cargo_bin(BIN_NAME)?; cmd.arg("--config") .arg("tests/conf1.json") - .env("TONOSCLI_CONFIG", "./tests/conf2.json") + .env("EVER_CLI_CONFIG", "./tests/conf2.json") .arg("account") .arg("0:841288ed3b55d9cdafa806807f02a0ae0c169aa5edfe88a789a6482429756a94"); cmd.assert()