The root network (SN0) is the meta-subnet that governs emission distribution across all subnets. Root validators set weights to determine which subnets receive more emissions.
Register on the root network. Requires a hotkey with sufficient total stake.
agcli root register [--password PW] [--yes]On-chain: SubtensorModule::root_register(origin, hotkey)
- Errors:
StakeTooLowForRoot,HotKeyAlreadyRegisteredInSubNet
Set root weights to influence subnet emission distribution.
agcli root weights --weights "1:500,2:300,3:200"On-chain: SubtensorModule::set_root_weights(origin, netuid, hotkey, dests, weights, version_key)
- Weights determine relative emission share per subnet
- Events:
WeightsSet(0, uid)(netuid=0 for root) - Errors:
NotEnoughStakeToSetWeights,SettingWeightsTooFast
agcli handler: src/cli/network_cmds.rs — handle_root() at L11, subcommands: Register L19, Weights L32
Subtensor pallet:
macros/dispatches.rs—root_register,set_root_weightsdispatch entry pointssubnets/weights.rs— root weight setting logic
agcli view dynamic— See current emission distributionagcli subnet list— View all subnetsagcli explain --topic root— Root network mechanics