The Bittensor command line interface (btcli) comes installed with the bittensor API and can be used to stake or unstake funds, run miners, check network state, and even deploy, analyze, and interface with the Bittensor network.
btcli [COMMAND]
usage: btcli <command> <command args>
bittensor cli v6.0.0
positional arguments:
{subnets,s,subnet,root,r,roots,wallet,w,wallets,stake,st,stakes,sudo,su,sudos,legacy,l}
subnets (s, subnet)
Commands for managing and viewing subnetworks.
root (r, roots) Commands for managing and viewing the root network.
wallet (w, wallets)
Commands for managing and viewing wallets.
stake (st, stakes) Commands for staking and removing stake from hotkey accounts.
sudo (su, sudos) Commands for subnet management
legacy (l) Miscellaneous commands.
Lists all wallets locally stored on your machine under path --wallet.path
. Outputs addresses are ss58 encoded required as desinstations for btcli transfer
Usage: btcli wallet list [OPTIONS]
btcli wallet list
Wallets
└─
my_wallet (<ss58_address>)
└── my_first_hotkey (<ss58_address>)
Create a new wallet with encrypted coldkey EdDSA cryptographic keypair
Usage: btcli wallet new_coldkey [OPTIONS]
btcli wallet new_coldkey
Create a EdDSA cryptographic keypair hotkey associated with a wallet.
Usage: btcli wallet new_hotkey [OPTIONS]
btcli wallet new_hotkey
Regenerate a hotkey from mnemonic.
Usage: btcli wallet regen_hotkey [OPTIONS]
btcli wallet regen_hotkey
Regenerate a wallet encrypted coldkey file from mnemonic or seed.
Usage: btcli wallet regen_coldkey [OPTIONS]
btcli wallet regen_coldkey
Regenerate a wallet with just the public seed of your coldkey.
Usage: btcli wallet regen_coldkeypub [OPTIONS]
btcli wallet regen_coldkeypub
Begins a proof of word registration.
Usage: btcli subnet register [OPTIONS]
btcli subnet register
Initiates a TAO recycle registration.
Usage: btcli recycle_register [OPTIONS]
btcli subnet recycle_register
Transfers TAO from a wallet coldkey to another wallet public key address. Destination addresses must be ss58 encoded.
Usage: btcli wallet transfer [OPTIONS]
btcli wallet transfer
Stake TAO from the coldkey balance to the hotkey staking account.
Usage: btcli stake add [OPTIONS]
btcli stake add
Remove stake TAO from the hotkey staking account and add it to the coldkey.
Usage: btcli stake remove [OPTIONS]
btcli stake remove
List all active delegates available for delegated TAO.
Usage: btcli root list
btcli root list
Delegate TAO from the coldkey balance to the hotkey staking account of a delegate.
Usage: btcli delegate [OPTIONS]
btcli delegate
Remove TAO from the hotkey balance of delegate you have previously delegated to.
Usage: btcli root undelegate [OPTIONS]
btcli root undelegate
Create a hotkey associated to a wallet.
Usage: btcli wallet new_hotkey [OPTIONS]
btcli wallet new_hotkey
List all active proposals for the Senate to vote on.
Usage: btcli root proposals
btcli root proposals
Inspect the votes for a single proposal.
Usage: btcli root proposals [OPTIONS]
btcli root proposals --proposal=[PROPOSAL_HASH]
Elect to join the Senate with your nominated hotkey.
Usage: btcli root register [OPTIONS]
btcli root register
Participate in a triumvirate proposal by voting with your senate hotkey.
Usage: btcli root senate_vote [OPTIONS]
btcli root senate_vote --proposal=[PROPOSAL_HASH]
Update your Bittensor installation
Usage: btcli misc update [OPTIONS]
btcli misc update