Only the largest 128 validators, in terms of stake, on any particular subnetwork are considered to have validator permit
. Validators with permit are considered active within Bittensor's mining mechanism, Yuma Consensus, can validate the network, and get dividends
.
The amount can be pulled from the metagraph based on your uid.
1import bittensor as bt 2subnet = bt.metagraph(1) 3wallet = bt.wallet( name = 'my_wallet_name', hotkey = 'my_validator_hotkey_name' ) 4my_uid = subnet.hotkeys.index( wallet.hotkey.ss58_address ) 5print ('validator permit', subnet.validator_permit[ my_uid ])
The amount of TAO required depends on how the other largest 128 wallets distribute TAO across themselves. You can calculate the minimum using bt.metagraph
:
1import bittensor as bt 2subnet = bt.metagraph(1) 3stake_requirement = subnet.S.sort()[0][-128:] 4print ('validator permit requirement', stake_requirement)