Registering
Fee and Registration Period
Details coming soon!
The fee is non-refundable.
Length of Registration
Once a subnet is registered, it begins its registration period, which lasts for one week (see Phases Overview). Within this time, users can delegate stake to the subnet, users can register & activate subnet nodes under the subnet based on the initial coldkeys, and the owner can activate the subnet if the activation conditions are met.
Registration Variables
Each registrar must supply a few variables to register (see RegistrationSubnetData). These are the variables required to register a subnet.
More variables can be set in the subnet owner section.
pub struct RegistrationSubnetData<AccountId> {
pub name: Vec<u8>,
pub repo: Vec<u8>,
pub description: Vec<u8>,
pub misc: Vec<u8>,
pub min_stake: u128,
pub max_stake: u128,
pub delegate_stake_percentage: u128,
pub initial_coldkeys: BTreeMap<AccountId, u32>,
pub bootnodes: BTreeMap<PeerId, BoundedVec<u8, DefaultMaxVectorLength>>,
}Name
The unique name of the subnet.
Repo
The unique GitHub or similar link to the source code of the subnet for nodes to run.
Description
A description of the subnet.
Misc
Miscellaneous information.
Min Stake
Minimum required stake balance to register a node.
Max Stake
The maximum allowable stake balance for a subnet node.
Delegate Stake Percentage
The percentage ratio of emissions given to delegate stakers.
Initial coldkeys
A list of whitelisted coldkeys and how many nodes each coldkey can register while the subnet is in the registration phase.
Each subnet should be decentralized and is treated as such. Similar to starting a blockchain, trusted nodes should always be the initial nodes in the system to set the standard of trust. Therefore, the registrar must register with a list of coldkeys that are allowed to register nodes. These nodes are automatically classified as a Validator (See subnet node classifications).
These coldkeys are removed once a subnet is activated.
Example Initial Coldkey
Bootnodes
A list of bootnodes that comprises a peer ID and a multiaddress.
Example Bootnode
Extrinsic
Last updated