This tutorial shows how to use the Bittensor testnet to create a subnet and run your incentive mechanism on it.
cd into your project directory and clone the bittensor-subnet-template repo:
cd into bittensor-subnet-template repo directory:
Install the bittensor-subnet-template package:
Create wallets for subnet owner, subnet validator and for subnet miner.
Follow all of these steps:
Create a coldkey and hotkey for your miner wallet:
Create a coldkey and hotkey for your validator wallet:
Creating subnets on the testnet is competitive. The cost is determined by the rate at which new subnets are being registered onto the chain.
The above command will show:
Here is the link to the discord channel for Bittensor.
Use the following command to list all your wallets:
You will get an output like this:
Then transfer 0.001 Taos to your miner and validator wallet.
Repeat this step for the validator wallet as well.
This step registers your subnet validator and subnet miner keys to the subnet, giving them the first two slots on the subnet.
Register your miner key to the subnet:
Follow the below prompts:
Next, register your validator key to the subnet:
Follow the prompts:
This step returns information about your registered keys.
Check that your miner has been registered:
The above command will display the below:
Run the subnet miner:
You will see the below terminal output: