bcc-cli-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.CLI.Cole.Delegation

Synopsis

Documentation

checkColeGenesisDelegationCertificateFile → ProtocolMagicId → VerificationKey → VerificationKey → ExceptT ColeDelegationError 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.

issueColeGenesisDelegation ∷ 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.