stellar-cli

Crates.iostellar-cli
lib.rsstellar-cli
version
sourcesrc
created_at2023-10-26 20:52:31.696034
updated_at2024-12-02 21:07:30.369272
descriptionStellar CLI
homepagehttps://github.com/stellar/stellar-cli
repositoryhttps://github.com/stellar/stellar-cli
max_upload_size
id1015240
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Stellar (Rust crate publisher) (stellar-crates)

documentation

README

stellar-cli

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

Install with Homebrew (macOS, Linux):

brew install stellar-cli

Install the latest version from source:

cargo install --locked stellar-cli --features opt

Usage

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.

Example

stellar invoke --id <CONTRACT_ID> --wasm <WASMFILE> -- --help
stellar invoke --id <CONTRACT_ID> --network futurenet -- --help
Commit count: 981

cargo fmt