20 stable releases

new 22.8.0 May 7, 2025
22.6.0 Mar 18, 2025
22.1.0 Dec 18, 2024
22.0.0 Nov 19, 2024
0.0.1 Oct 26, 2023

#605 in Magic Beans

Download history 51/week @ 2025-01-14 76/week @ 2025-01-21 70/week @ 2025-01-28 63/week @ 2025-02-04 86/week @ 2025-02-11 91/week @ 2025-02-18 104/week @ 2025-02-25 242/week @ 2025-03-04 273/week @ 2025-03-11 273/week @ 2025-03-18 119/week @ 2025-03-25 256/week @ 2025-04-01 156/week @ 2025-04-08 165/week @ 2025-04-15 492/week @ 2025-04-22 210/week @ 2025-04-29

1,053 downloads per month

Apache-2.0

545KB
13K SLoC

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

Dependencies

~50–71MB
~1.5M SLoC