Crates.io | soroban-cli-hcnet-test3 |
lib.rs | soroban-cli-hcnet-test3 |
version | 20.1.1 |
source | src |
created_at | 2024-02-20 07:58:05.184174 |
updated_at | 2024-02-20 07:58:05.184174 |
description | Soroban CLI |
homepage | https://github.com/shantanu-hashcash/soroban-cli |
repository | https://github.com/shantanu-hashcash/soroban-cli |
max_upload_size | |
id | 1146078 |
size | 331,885 |
CLI for running Soroban contracts locally in a test VM. Executes WASM files built using the rs-soroban-sdk.
Soroban: https://soroban.stellar.org
cargo install --locked soroban-cli
To install with the opt
feature, which includes a WASM optimization feature and wasm-opt built in:
cargo install --locked soroban-cli --features opt
Can invoke a contract method as a subcommand with different arguments. Anything after the slop (--
) is passed to the contract's CLI. You can use --help
to learn about which methods are available and what their arguments are including an example of the type of the input.
soroban invoke --id <CONTRACT_ID> --wasm <WASMFILE> -- --help
soroban invoke --id <CONTRACT_ID> --network futurenet -- --help