Crates.io | stellar-cli |
lib.rs | stellar-cli |
version | 22.0.0-rc.1 |
source | src |
created_at | 2023-10-26 20:52:31.696034 |
updated_at | 2024-11-08 01:10:08.892553 |
description | Stellar CLI |
homepage | https://github.com/stellar/stellar-cli |
repository | https://github.com/stellar/stellar-cli |
max_upload_size | |
id | 1015240 |
size | 110,309 |
CLI for interacting with the Stellar network and Soroban contracts locally in a test VM. Executes WASM files built using the rs-soroban-sdk.
Docs: https://developers.stellar.org
Install with Homebrew (macOS, Linux):
brew install stellar-cli
Install the latest version from source:
cargo install --locked stellar-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.
stellar invoke --id <CONTRACT_ID> --wasm <WASMFILE> -- --help
stellar invoke --id <CONTRACT_ID> --network futurenet -- --help