SiltDocumentation Litepaper
Appearance
Docs/Use siltcli

Use siltcli

Use the CLI to create a spending account, mine to a receiving address, run an elected validator, nominate a validator or stake a subnet's alpha. If you only want to hold or trade tokens, you can use the browser wallet.

Install and create an account

Start from the verified release source. The checkout launcher needs Python 3.9 or later, silt-wallet and its companion silt-custody. Put the native tools on your path or point SILT_WALLET_BIN at the wallet binary. Mining and validating also require silt-sdk-node. The Apple Silicon wheel packages the CLI and the native wallet tools together. When using an installed wheel, replace ./siltcli below with siltcli. Mainnet build and release · CLI packaging

./siltcli --account miner wallet create
./siltcli --account miner wallet show
./siltcli --account miner wallet verify-backup

Choose a password at the hidden prompt. Save the account directory, including its encrypted key and public account file, in an offline backup. Test that a restored copy opens with the password and gives the same full address. The default wallet home is ~/.siltcli. To use a different directory, put --home PATH before the command. miner is a local account name. On Silt the account uses ML-DSA-65, including for people coming from Bittensor.

Connect to the right network

Set SILT_RPC to your node's endpoint and SILT_GENESIS to the block-zero hash in the authenticated release. Check the whole hash. The address prefix and the name shown by an RPC server can be the same on two different networks.

./siltcli --account miner status

During early mining the best height can increase while finalized height stays at zero. The CLI labels provisional observations. After the handoff, use finalized height and the signing status to check progress.

Mine during the PoW window

Obtain the shared raw specification and bootnode address from the release. Set SILT_RAW_SPEC and SILT_BOOTNODE accordingly. Run a node with a persistent data directory. The first operator creates and announces a bootnode using the launch procedure.

./siltcli --account miner mine --chain "$SILT_RAW_SPEC" \
  --base-path "$HOME/silt-node" -- --bootnodes "$SILT_BOOTNODE"

The miner tries proofs continuously. A winning block pays 0.25 SILT initially. The reward becomes spendable after the mining maturity set at genesis. The miner needs the public payout address. Spending or bonding those coins requires the encrypted wallet. If you stop the miner, restart with the same specification and data directory. Another miner can continue while yours is offline.

Become a chain validator

In a second terminal, point the CLI at the running node and check status. Once you have the minimum spendable self-bond plus the fee, set SELF_BOND to your amount in SILT.

./siltcli --account miner bond "$SELF_BOND"
./siltcli --account miner election
./siltcli --account miner status

Bonding makes the account a candidate. The first bond from an encrypted account authorizes a separate online session key. The spending key can stay offline while the session key signs. When the funded election appears, compare its height and hash with the other operators. Only after agreeing, set SILT_ANCHOR to the full HEIGHT:0xHASH value. Stop your mining process cleanly and restart it with the same database:

./siltcli --account miner mine --as-validator --election-anchor "$SILT_ANCHOR" \
  --chain "$SILT_RAW_SPEC" --base-path "$HOME/silt-node" -- --bootnodes "$SILT_BOOTNODE"

This runs both jobs during the overlap. The node ends mining when the chain's handoff completes. Check status for NPoS, increasing finalized height and a recent signature. Four funded seats are required to start the transition. With four elected seats, three can finalize. A two-and-two split waits for a quorum. Keep one active process per signing key and retain its database and signing journal together. Election and rewards

Nominate and unstake SILT

An ordinary nominator needs a funded Silt account and a connected CLI. Read the elected list, choose the validator's staking address, and leave enough SILT for the fee. In this example backer is an account you have already created and funded. The amounts are in whole SILT.

./siltcli --account backer validators
./siltcli --account backer nominate 1 "$VALIDATOR_ADDRESS"
./siltcli --account backer stake
./siltcli --account backer rewards
./siltcli --account backer unstake 1

An accepted unstake makes that SILT spendable in the same transaction. New backing may take an election to earn rewards. A validator missing from the rewarded proof earns nothing for that checkpoint, and its nominators keep their principal. A validator removing its own backing uses unstake AMOUNT --self-bond. An exit that would leave too little eligible backing can be refused. Wait for another candidate to qualify before retrying.

Hold or stake alpha

Registration opens after the first finalized staking block. Each subnet has a numeric ID, a ticker and its own alpha balances. For an existing GAMMA subnet, the following commands read your free balance, list subnet validators and inspect your position. Staking and unstaking require signatures.

./siltcli --account backer subnet balance GAMMA
./siltcli subnet validators GAMMA
./siltcli --account backer subnet stake GAMMA "$SUBNET_VALIDATOR" 1
./siltcli --account backer subnet position GAMMA "$SUBNET_VALIDATOR"
./siltcli --account backer subnet unstake GAMMA "$SUBNET_VALIDATOR" all
./siltcli --account backer subnet balance GAMMA

Redemption returns the same alpha to your free balance, including when the order book is empty. The transaction still needs a fee source. A fee paid by selling alpha needs funded bids. See the Alpha Market for prices, lot sizes and fees, and the subnet migration guide for a complete worked example.

For a disposable practice network, use the personal Docker guide. Keep practice wallets and chain data in their own directory.