Skip to main content

sign_genesis

Function sign_genesis 

Source
pub fn sign_genesis(
    unsigned: &UnsignedGenesisDidOp,
    ed25519: &SigningKey,
    mldsa65: &MlDsaSigningKey,
) -> Result<DidOpSignature>
Expand description

Sign operation zero with the user-held priority-zero key.

This helper is suitable for a user-side signer. The host mint path consumes the returned signature but never needs either private key.