Working with Subnets
Subnets are composed of a discrete number of UIDs. The subnet validators and subnet miners are associated with these UIDs. Each UID in the subnet belongs to a unique hotkey which in turn is connected to a unique coldkey which was used during regisration. The Yuma Consensus runs on these UIDs. This section presents a few examples showing how to work with subnets.
Transfer is transfer from cold to cold Registration takes PUSSY from cold Hotkey PUSSY movement is only stake add and remove, and it’s loaded by emissions while mining Root delegation/undelegation is hotkey PUSSY movement to a strangers hotkey, and it's loaded by the activities of the strangers emission validation activities
Viewing subnetworks
Show all currently running subnets on Cybertensor:
Viewing state
To display fine-grained information about each subnetwork use ct.metagraph:
= # Get the current state.
assert == 1
# Sync the state with a particular block.
assert == 101010
Verifying UIDs
=
assert ==
Extracting UID information
=
= 123
Viewing parameters
The below code prints stake S on the subnet and the weights W set by the subnet validators in the subnet.
=
Viewing dividends
The below code prints the subnet validator dividends, D.
=