Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype VerificationKey = VerificationKey {}
- formatFullVerificationKey ∷ VerificationKey → Builder
- fullVerificationKeyF ∷ Format r (VerificationKey → r)
- fullVerificationKeyHexF ∷ Format r (VerificationKey → r)
- shortVerificationKeyHexF ∷ Format r (VerificationKey → r)
- parseFullVerificationKey ∷ Text → Either VerificationKeyParseError VerificationKey
Documentation
newtype VerificationKey Source #
Wrapper around XPub
.
Instances
formatFullVerificationKey ∷ VerificationKey → Builder Source #
Builder
for VerificationKey
to show it in base64 encoded form.
fullVerificationKeyF ∷ Format r (VerificationKey → r) Source #
Formatter for VerificationKey
to show it in base64.
fullVerificationKeyHexF ∷ Format r (VerificationKey → r) Source #
Formatter for VerificationKey
to show it in hex.
shortVerificationKeyHexF ∷ Format r (VerificationKey → r) Source #
Formatter for VerificationKey
to show it in hex, but only first 8 chars.
parseFullVerificationKey ∷ Text → Either VerificationKeyParseError VerificationKey Source #
Parse VerificationKey
from base64 encoded string