Set and query on-chain identity information for hotkeys and subnets.
Query on-chain identity for an address.
agcli identity show --address SS58
# JSON: {"name", "url", "github", "description", "image", "discord"}Set identity information for your hotkey.
agcli identity set --name "MyValidator" [--url "https://..."] [--github "user/repo"] [--description "..."]On-chain: SubtensorModule::set_identity(origin, name, url, github_repo, image, discord, description, additional)
- Requires hotkey to be the signer
- Events: identity storage updated
Set identity for a subnet (owner only).
agcli identity set-subnet --netuid 1 --name "MySubnet" [--github "..."] [--url "..."]On-chain: SubtensorModule::set_subnet_identity(origin, netuid, subnet_name, github_repo, subnet_contact, subnet_url, discord, description, logo_url, additional)
- Errors:
NotSubnetOwner
agcli handler: src/cli/network_cmds.rs — handle_identity() at L163, subcommands: Show L170, Set L188, SetSubnet L200
Subtensor pallet:
utils/identity.rs—set_identity,set_subnet_identitylogicmacros/dispatches.rs— dispatch entry points
agcli view account— See identity in account overviewagcli delegate show— Validator identity