Developer

Mint tokens from faucet

Run the following commands to mint faucet tokens for the owner and for the validator.

Mint faucet tokens for the owner:

btcli wallet faucet --wallet.name owner --subtensor.chain_endpoint wss://websocket.unitao.io

You will see:

>> Balance: τ0.000000000 ➡ τ100.000000000

Mint tokens for the validator:

btcli wallet faucet --wallet.name validator --subtensor.chain_endpoint wss://websocket.unitao.io

You will see:

>> Balance: τ0.000000000 ➡ τ100.000000000

Run subnet miner and subnet validator

Run the subnet miner:

python neurons/miner.py --netuid 1 --subtensor.chain_endpoint wss://websocket.unitao.io --wallet.name miner --wallet.hotkey default --logging.debug

Run the subnet validator:

python neurons/validator.py --netuid 1 --subtensor.chain_endpoint wss://websocket.unitao.io --wallet.name validator --wallet.hotkey default --logging.debug

Verify your incentive mechanism

After a few blocks the subnet validator will set weights. This indicates that the incentive mechanism is active. Then after a subnet tempo elapses (360 blocks or 72 minutes) you will see your incentive mechanism beginning to distribute TAO to the subnet miner.

btcli wallet overview --wallet.name miner --subtensor.chain_endpoint wss://websocket.unitao.io

Last updated