cardano-cli
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.Byron.Delegation

Synopsis

Documentation

checkByronGenesisDelegation :: CertificateFile -> ProtocolMagicId -> VerificationKey -> VerificationKey -> ExceptT ByronDelegationError IO () Source #

Verify that a certificate signifies genesis delegation by assumed genesis key to a delegate key, for a given protocol magic. If certificate fails validation, throw an error.

issueByronGenesisDelegation :: ProtocolMagicId -> EpochNumber -> SigningKey -> VerificationKey -> Certificate Source #

Issue a certificate for genesis delegation to a delegate key, signed by the issuer key, for a given protocol magic and coming into effect at given epoch.