Please find relevant setup documentation over in the shared_setup_steps.md
file. These steps will prepare the miner and validator for use in the following steps.
Run the following command to start a miner on testnet
cd neurons
pm2 start miner.py --name miner --interpreter python3 -- \
--netuid 118 \
--wallet.name {your_miner_key_name} \
--wallet.hotkey {your_miner_hotkey_name} \
--subtensor.network test
View all acceptable CLI arguments →
Run the following command to start a validator on testnet
cd neurons
pm2 start validator.py --name validator --interpreter python3 -- \
--netuid 118 \
--wallet.name {your_validator_key_name} \
--wallet.hotkey {your_validator_hotkey_name} \
--subtensor.network test