Get Started
Requirements
- Requires Python 3.10.
- Bittensor
Below are the prerequisites for validators. You may be able to make a validator work off lesser specs but it is not recommended.
-
2 vCPU + 8 GB memory
-
100 GB balanced persistent disk
-
A Twelvedata API account. (https://twelvedata.com/) with “Pro 610”. The free tier is sufficient for testnet usage.
-
A Polygon API account (https://polygon.io/) with “Currencies Starter” as well as “Indicies Advanced”
For mainnet applications, the paid tiers are required to stay in consensus (~$250/month as of the time of writing). For testnet, you may use the free tiers.
Getting Started
Clone repository
Change directory
Create Virtual Environment
Activate a Virtual Environment
Disable pip cache
Install dependencies
Create a local and editable installation
Create Wallets
This step creates local coldkey and hotkey pairs for your validator.
The validator will be registered to the subnet specified. This ensures that the validator can run the respective validator scripts.
Create a coldkey and hotkey for your validator wallet.
(Optional) Getting faucet tokens
Faucet is disabled on the testnet. Hence, if you don’t have sufficient faucet tokens, ask the Bittensor Discord community for faucet tokens. Bittensor -> help-forum -> Requests for Testnet TAO
Register keys
This step registers your subnet validator keys to the subnet, giving it the first slot on the subnet.
To register your validator on the testnet add the --subtensor.network test
flag.
Follow the below prompts:
Check that your keys have been registered
This step returns information about your registered keys.
Check that your validator key has been registered:
To check your validator on the testnet add the --subtensor.network test
flag
The above command will display the below: