Registration

Prior to mining TAO, miners must attain a UID slot within one of Bittensor's sub-networks via a competition called registration. At the time of writing, there are 1024 uids available on subnetwork 1 and 4096 on subnetwork 3.

1uids
2    netuid 1: [ 0, 1, 2, ... 1022, 1023 ]
3    netuid 3: [ 0, 1, 2, ... 4094, 4095 ]

There are two methods of competing for registrations:

  1. Proof-of-Work registration

    1btcli register --netuid SELECTED_NETUID --wallet.name YOUR_COLDKEY --wallet.hotkey YOUR_HOTKEY
  2. TAO Recycle registration

    1btcli recycle_register --netuid SELECTED_NETUID --wallet.name YOUR_COLDKEY --wallet.hotkey YOUR_HOTKEY

Once the registration cost has been paid, the miner enters the network by replacing an older underperforming miner and can now mine themselves from that slot.


Proof of Work Registration

Proof-of-Work (POW) registrations require miners to solve a SHA256 hashing problem before winning a UID. This route is recommmended for miners contributing raw compute power to Bittensor or don't have a previous token supply.

1btcli register 
2      --netuid SUBNETWORK_NETUID_TARGET 
3      --wallet.name YOUR_COLDKEY_NAME 
4      --wallet.hotkey YOUR_HOTKEY_NAME

Coldkeys
The POW registration does not requires only your coldkeypub.txt and hotkey. It is also possible to sign the registration extrinsic payload by a separate key.

Installing Cubit

It is highly recommended that you use a Nvidia GPU to register for a faster hash rate. To use your GPU during the hashing problem you must install Cubit.

1python3 -m pip install bittensor[cubit]

Once installed you can specify which GPU you are running your registration over or --all of them.

1btcli register 
2      --cuda 
3      --all

TAO Recycle Registration

Recycle registrations allow a miner to recycle TAO back into the inflation mechanism (to be passed through the incentive mechanism at a later date) in exchange for a UID on a subnetwork. Recycle registrations cost TAO to execute but takes less time to activate than POW registration. They are recommended for miners seeking to attain slots quickly and who already have a small amount of TAO at their disposal.

1btcli recycle_register 
2      --netuid SELECTED_NETUID
3      --wallet.name YOUR_COLDKEY 
4      --wallet.hotkey YOUR_HOTKEY

Cost Updates

POW and the recycle registration cost are mutually adaptive, updating their costs on an adjustment interval so that the number of registrations over that interval remain constant, i.e. 3 registrations per 100 blocks. Below is pseudo code for the update conditions.

1if regs > target and recycle_regs > pow_regs:
2      burn_cost *= ( n_burn_regs + target_regs ) / (2 * target_regs)
3
4elif regs > target and recycle_regs <= pow_regs:
5      pow_difficulty *= ( n_pow_regs + target_regs ) / (2 * target_regs)
6
7elif regs <= target and recycle_regs > pow_regs:
8      burn_difficulty *= ( n_burn_regs + target_regs ) / (2 * target_regs) 
9
10elif regs <= target and recycle_regs <= pow_regs:
11      pow_difficulty *= ( n_pow_regs + target_regs ) / (2 * target_regs)

To view the current subnetwork difficulty on each subnet run btcli list_subnets

1btcli list_subnets
2NETUID  NEURONS  MAX_N   DIFFICULTY  TEMPO  CON_REQ  EMISSION  BURN(τ)
31       691    1.02 K   198.08 T    99     None     28.44%   τ4.75710
43      4096    4.10 K   320.81 T    99     None     71.56%   τ1.00000
5    DIFFICULTY: Current proof of work difficulty
6    BURN: Current cost to register a key via recycle registration.

Inspecting UIDs

Once a slot has been attained you can view the performance of you registered wallet you can run btcli overview --netuid.

ParameterValueDescription
COLDKEYmy_coldkeyThe name of the coldkey associated with the won slot.
HOTKEYmy_first_hotkeyThe name of the hotkey associated with the won slot.
UID5The index of the uid out of available uids.
ACTIVETrueWhether or not the uid is considered active.
STAKE(τ)71.296The amount of stake on this miner.
RANK0.0629This miner's absolute ranking according to validators on the network.
TRUST0.2629This miner's trust as a proportion of validators on the network.
CONSENSUS0.89This miner's aggregate consensus score.
INCENTIVE0.029This miner's incentive, TAO emission attained via mining.
DIVIDENDS0.001This miner's dividends, TAO emission attained via validating.
EMISSION29_340_153This miner's total emission in RAO ( 10^-9 TAO ) per block.
VTRUST0.96936This validators trust score as a validator.
VPERMIT*Whether this miner is considered active for validating on this subnetwork.
UPDATED43Blocks since this miner set weights on the chain.
AXON131.186.56.85:8091The entrypoint advertised by this miner on bittensor blockchain.
HOTKEY_SS585F4tQyWr...The raw ss58 encoded address of the miner's hotkey.