48 releases (stable)

new 23.2.0 Nov 14, 2025
23.1.3 Sep 12, 2025
23.0.0 Jul 16, 2025
22.8.2 Jul 9, 2025
0.0.2 Jul 30, 2022

#522 in Magic Beans

Download history 283/week @ 2025-07-25 290/week @ 2025-08-01 404/week @ 2025-08-08 218/week @ 2025-08-15 269/week @ 2025-08-22 320/week @ 2025-08-29 491/week @ 2025-09-05 669/week @ 2025-09-12 298/week @ 2025-09-19 363/week @ 2025-09-26 473/week @ 2025-10-03 304/week @ 2025-10-10 562/week @ 2025-10-17 686/week @ 2025-10-24 793/week @ 2025-10-31 675/week @ 2025-11-07

2,778 downloads per month
Used in 6 crates

Apache-2.0

760KB
18K SLoC

soroban-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

cargo install --locked 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

Dependencies

~53–79MB
~1.5M SLoC