This guide serves as a cheat sheet for the new strucutre of the Bittensor CLI after the Revolution update. The main key change is that commands are grouped and to perform a command you must first enter the parent group name (or alias).
An example of how commands have changed would be:
Overview (was)
btcli overview
Overview (now)
btcli wallet overview
btcli wallets overview
btcli w overview
It will be optimum to use the shorthand aliases for the group names which is who we will be referring to commands in all tutorials and assistance.
Commands for managing and viewing subnetworks.
listList all subnets on the networkmetagraphView a subnet metagraph information.lock_costReturn the lock cost to register a subnetcreateCreate a new bittensor subnetwork on this chain.registerRegister a wallet to a network.recycle_registerRegister a wallet to a network.hyperparametersView subnet hyperparameters
Commands for managing and viewing the root network.
listList the root networkweightsSet weights for root network.senate_voteVote on an active proposal by hash.registerRegister a wallet to the root network.proposalsView active triumvirate proposals and their statusdelegateDelegate Stake to an account.undelegateUndelegate Stake from an account.my_delegatesShow all delegates where I am delegating a positive amount of stakelist_delegatesList all delegates on the networknominateBecome a delegate on the network
Commands for staking and removing stake from hotkey accounts.
showList all stake accounts for wallet.addAdd stake to your hotkey accounts from your coldkey.removeRemove stake from your hotkey accounts into their coldkey accounts.
Commands for managing and viewing wallets.
listList walletsoverviewShow registered account overview.transferTransfer Tao between accounts.inspectInspect a wallet (cold, hot) paircreateCreates a new coldkey (for containing balance) under the specified path.new_hotkeyCreates a new hotkey (for running a miner) under the specified path.new_coldkeyCreates a new coldkey (for containing balance) under the specified path.regen_coldkeyRegenerates a coldkey from a passed valueregen_coldkeypubRegenerates a coldkeypub from the public part of the coldkey.regen_hotkeyRegenerates a hotkey from a passed mnemonicfaucetRegister a wallet to a network.updateUpdate wallets to encrypt coldkey
Commands for subnet management
setSet hyperparameters for a subnetgetView subnet hyperparameters
Miscellaneous commands.
updateUpdate bittensorfaucetRegister a wallet to a network.