Skip to content

CLI Reference

CommandDescriptionReference
balanceCheck SOMA balanceCommon Commands
sendSend SOMA to a recipientCommon Commands
transferTransfer an objectCommon Commands
payPay SOMA to multiple recipientsCommon Commands
stakeStake SOMA with a validator or modelCommon Commands
unstakeWithdraw staked SOMACommon Commands
faucetRequest test tokensCommon Commands
statusShow network statusCommon Commands
objectsQuery owned objectsQuery Commands
txInspect and execute transactionsQuery Commands
walletManage addresses and keysManagement Commands
envManage environmentsManagement Commands
modelRegister and manage modelsSubmission Commands
targetList targets and submit dataSubmission Commands
challengeSubmit fraud challengesSubmission Commands
validatorValidator operationsOperators & Nodes
startStart nodes and servicesOperators & Nodes
networkInspect network configurationOperators & Nodes
genesisBootstrap a new networkOperators & Nodes
keytoolLow-level key managementOperators & Nodes
completionsGenerate shell completionsOperators & Nodes

These flags apply to all commands.

OptionDescription
--client.config <PATH>Path to the file storing user account state
--client.env <ENV>SOMA environment to use (must exist in current config)
-y, --yesCreate new soma config without prompting if none exists
--jsonOutput as JSON (available on most commands)
OptionDescription
--tx-digestCompute the transaction digest and print it without executing
--simulatePerform a dry run (simulation) without executing
--serialize-unsigned-transactionSerialize unsigned transaction data as base64 instead of executing
--serialize-signed-transactionSerialize signed transaction data as base64 instead of executing
FileDescription
~/.soma/soma.yamlClient config — RPC URL, active environment, active address
soma.keystoreEncrypted keystore for account keys
network-config.yamlLocal network validator configs (created by genesis)
genesis.blobSerialized genesis state (created by genesis)
fullnode-config.yamlFullnode configuration (created by start localnet)
VariableDescription
RUST_LOGSet log verbosity (e.g. info, debug, soma=trace)
CodeMeaning
0Success
1Error