stellar-cli

Crates.iostellar-cli
lib.rsstellar-cli
version25.0.0
created_at2023-10-26 20:52:31.696034+00
updated_at2026-01-22 16:51:24.194643+00
descriptionStellar CLI
homepagehttps://github.com/stellar/stellar-cli
repositoryhttps://github.com/stellar/stellar-cli
max_upload_size
id1015240
size159,970
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

To install without features that depend on additional libraries:

cargo install --locked stellar-cli --no-default-features

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: 1295

cargo fmt