Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.24 KB

running_on_testnet.md

File metadata and controls

46 lines (31 loc) · 1.24 KB

Running on Testnet

Setup

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.

Mining

Run the following command to start a miner on testnet

cd neurons
pm2 start miner.py --name miner --interpreter ../.venv/bin/python -- \
--netuid 118 \
--wallet.name {your_miner_key_name} \
--wallet.hotkey {your_miner_hotkey_name} \
--subtensor.network test

Or run this command with make pm2-test-miner WALLET_NAME={your_miner_key_name} HOTKEY_NAME={your_miner_hotkey_name}

View all acceptable CLI arguments →

Validating

Run the following command to start a validator on testnet

cd neurons
pm2 start validator.py --name validator --interpreter ../.venv/bin/python -- \
--netuid 118 \
--wallet.name {your_validator_key_name} \
--wallet.hotkey {your_validator_hotkey_name} \
--subtensor.network test

Or run this command with make pm2-test-validator WALLET_NAME={validator_key_name} HOTKEY_NAME={validator_hot_key_name}

View all acceptable CLI arguments →