willemneal / soroban-cli

CLI for Soroban Contracts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

soroban-cli

CLI for running Soroban contracts locally in a test VM. Executes WASM files built using the rs-soroban-sdk.

Soroban: https://soroban.stellar.org

Install

cargo install --locked soroban-cli

Usage

All values passed to --arg are the JSON representation of SCVals.

Example

soroban-cli invoke --id <HEX_CONTRACTID> --wasm <WASMFILE> --fn <FUNCNAME> --arg 32 --arg 4

About

CLI for Soroban Contracts.


Languages

Language:Rust 99.7%Language:Makefile 0.3%