Add
Register and activate in one call.
This is useful if the subnet node can load the subnet requirements (such as loading a model) before the next epoch where the node will be included in the consensus. Otherwise, use the Register and Activate flow.
Parameters:
--subnet_id
: The ID of the subnet. This can be checked by querying the model path through the SubnetPaths
storage element.
--hotkey
: (Suggested but optional) The key used to perform frequent subnet node operations like validating and attesting.
--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 but Hypertensor allows setting the variable once. Once set, it cannot be updated.
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 set its bootstrap node using the
register_subnet_node_a_parameter
function on the Hypertensor blockchain.
--delegate_reward_rate
: (Optional) The subnet node emissions reward rate to allocate to delegators.
--stake_to_be_added
: The minimum staked is 1000.00
.
--local
: (Optional) Argument for local testing to use the LOCAL_RPC
environment variables.
--phrase
: (Optional) The coldkey phrase. The latest command will be removed from your CLI's history if used.
--b
: (Optional) Any non-unique variable. The feature is for subnet developers to utilize.
--c
: (Optional) Any non-unique variable. The feature is for subnet developers to utilize.
Notes
If the
hotkey
andphrase
arguments are not passed, the key in the environmental variables (.env
file) will be used for both the hotkey and coldkey.
This will:
Stake the minimum required balance.
Last updated