Installation & Setup
Install the SOMA CLI, create an account, and fund it.
Install
Section titled “Install”The SOMA CLI is installed via sup, SOMA’s version manager (like rustup).
-
Install
sup:curl -sSfL https://sup.soma.org | shcargo install --git https://github.com/soma-org/sup.git --locked -
Install SOMA:
sup install soma -
Verify:
soma --version
If you get “command not found,” add the SOMA binaries directory to your PATH.
Create an Account
Section titled “Create an Account”soma wallet new --alias my-walletThis returns your address and a 12-word recovery phrase.
Check your active address:
soma wallet activeConnect to a Network
Section titled “Connect to a Network”SOMA has two environments: testnet (the default public test network) and localnet (a local network for development, see Local Network).
View available environments:
soma env listSwitch environments:
soma env switch testnetFund Your Account
Section titled “Fund Your Account”On testnet or localnet, request SOMA from the faucet:
soma faucetCheck your balance:
soma balanceExplore the Network
Section titled “Explore the Network”See what’s happening:
soma statusShows the current epoch, time till next epoch, and your active address.
soma model listLists all registered models with their status, stake, and architecture version.
soma target listShows open targets waiting for data submissions, including their distance thresholds and rewards.
Python SDK
Section titled “Python SDK”If you plan to interact with SOMA programmatically, install the Python SDK:
pip install soma-sdkuv add soma-sdkNext, run through the Quickstart to hit a target on testnet and earn SOMA.