Register
Register a subnet node on-chain with your minimum required stake or more. This is done before entering a subnet so others can prove your stake and let you in. Subnet nodes in the registration class will not be included in consensus until activated.
After registration, the subnet node will have 16 epochs to activate otherwise after 16 epochs it will be removed on the first successfully attested epoch.
Parameters:
--subnet_id
: The ID of the subnet. This can be checked by querying the model path through the SubnetPaths
storage element.
--peer_id
: The Peer ID generated in Generate Keypair.
--bootstrap_peer_id
: (Optional) The bootstrap Peer ID generated in Generate Keypair.
A bootstrap peer ID isn't required.
Once a bootstrap node is registered on-chain, this cannot be updated.
If a subnet node doesn't register with a bootstrap node, it can register its bootstrap node using the
register_subnet_node_a_parameter
function on the Hypertensor blockchain.
--stake_to_be_added
: The minimum staked is 1000.00
.
--local
: (Optional) Argument for local testing to use the LOCAL_RPC
environment variables.
This will:
Register your subnet node on-chain and claim a subnet node slot on the Hypertensor blockchain.
Stake the minimum required balance.
Be used as your proof-of-stake on-chain when you start your subnet node server.
Last updated