Skip to main content

genesis

Function genesis 

Source
pub fn genesis(
    owner_keys: &Keys,
    metadata: CommunityMetadata,
    at_secs: u64,
) -> Result<Genesis, ControlError>
Expand description

Mint a v2 community: fresh identity (salt-committed to the owner), fresh community_root + control_root (the split, CORD-02 §2), and the two genesis editions sealed at the epoch-0 control plane — signed by the control_root- derived signer, readable under the community_root-derived read key. The caller persists the secrets and publishes the wraps.