Documentation

Create Wallets & Register a Subnet

šŸ“˜

This page assumes that you have already completed the steps to Deploy a Bittensor-Rao Chain on your local machine, or are running on raonet.

Creating Wallets, Hotkeys and obtaining tao

Ok - now we have everything up and running to play with dtao. You'll want a few test wallets with a few hotkeys each. If you are familiar with bittensor, you already know the commands needed:

btcli w new_coldkey
btcli w new_hotkey

Follow the steps to create a coldkey (or two) and add a few hotkeys to each coldkey.

You'll need some tao in your coldkeys. Since it is a local network, there is a faucet:

btcli w faucet --subtensor.network local --wallet.name <your wallet name>

This will add 3,000 tao to your wallet. Repeat as needed across your coldkeys.

šŸ“˜

When making btcli commands, the default is to connect to the finney network (production chain)

To test your local chain, add:
--subtensor.network local

The bittensor version for raonet defaults to --subtensor.network raonet

Register a subnet

To begin, you'll need to register a subnet or two:

btcli s create --subtensor.network local --wallet.name <walletname?

Add stake to a subnet

Use btcli s show to find a validator on the subnet that you wish to stake to:

btcli st add --subtensor.network local --netuid 1 --wallet.name <walletname>
Enter staking hotkey name or ss58_address (default): <the hotkey>

Slippage is the amount of the tao that you will immediately lost by completing the transfer. Smaller transfers (as a percentage of tao staked to the subnet) have lower slippage.

Stake all: Ļ„1,998.0000? [y/n]: n
Enter amount to stake in Ļ„: 500
                                      Add Stake: 5Dt17kKyhC4pnrJuWtmFYucC7hfr3g2q5QYFZkoTHKg8ZZtr                                       
    netuid    ā”ƒ      hotkey       ā”ƒ     amount (Ļ„)     ā”ƒ              rate (Ī±/Ļ„)               ā”ƒ     received (Ī±)      ā”ƒ    slippage    
ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā•‡ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā•‡ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā•‡ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā•‡ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā•‡ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”
      1       ā”‚     5Dj...jjZ     ā”‚     Ļ„500.0000      ā”‚        1.074476704889997(Ī±/Ļ„)         ā”‚       523.0584Ī±ā€Ž       ā”‚    2.6394 %    
ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€
              ā”‚                   ā”‚                    ā”‚                                       ā”‚                       ā”‚                
Would you like to continue? [y/n]: y
Enter password to unlock key: 

Choosing a different hotkey will stake on that other hotkey.