This documentation provides an organized outline of the command-line interface (CLI) commands for managing and interacting with subnets, root, stake, wallet, sudo, and legacy components of the network. Each section below details the specific commands, along with their descriptions, that can be used for each component to ensure effective and efficient management and operation
The CLI allows users to perform various tasks such as listing all subnets on the network, viewing metagraph information, registering a wallet to a network, setting weights for the root network, and many more. The commands are categorized by the component they are related to, making it easier for users to find and execute the commands they need.
Subnets (s, subnet)
Commands for managing and viewing subnetworks.
Command | Description |
---|---|
list | List all subnets on the network |
metagraph | View a subnet metagraph information |
lock_cost | Return the lock cost to register a subnet |
create | Create a new bittensor subnetwork on this chain |
register | Register a wallet to a network |
recycle_register | Register a wallet to a network |
hyperparameters | View subnet hyperparameters |
Root (r, roots)
Commands for managing and viewing the root network
Command | Description |
---|---|
list | List the root network |
weights | Set weights for root network |
senate_vote | Vote on an active proposal by hash |
register | Register a wallet to the root network |
proposals | View active triumvirate proposals and their status |
delegate | Delegate Stake to an account |
undelegate | Undelegate Stake from an account |
my_delegates | Show all delegates where I am delegating a positive amount of stake |
list_delegates | List all delegates on the network |
nominate | Become a delegate on the network |
Stake (st stakes)
Commands for staking and removing stake from hotkey accounts
Command | Description |
---|---|
show | List all stake accounts for wallet |
add | Add stake to your hotkey accounts from your coldkey |
remove | Remove stake from your hotkey accounts into their coldkey accounts |
Wallet (w, wallets)
Commands for managing and viewing wallets
Command | Description |
---|---|
list | List wallets |
overview | Show registered account overview |
transfer | Transfer Tao between accounts |
inspect | Inspect a wallet (cold, hot) pair |
create | Creates a new coldkey (for containing balance) under the specified path |
new_hotkey | Creates a new hotkey (for running a miner) under the specified path |
new_coldkey | Creates a new coldkey (for containing balance) under the specified path |
regen_coldkey | Regenerates a coldkey from a passed value |
regen_coldkeypub | Regenerates a coldkeypub from the public part of the coldkey |
regen_hotkey | Regenerates a hotkey from a passed mnemonic |
faucet | Register a wallet to a network |
update | Update wallet |
Sudo (su, sudos)
Commands for subnet management
Command | Description |
---|---|
set | Set subnet management |
get | Get subnet management |
Legacy
Command | Description |
---|---|
update | Update legacy |
faucet | Faucet legacy |