Module

Cardano.Types.Ed25519KeyHash

#toBech32Unsafe

toBech32Unsafe :: Partial => String -> Ed25519KeyHash -> Bech32String

Convert ed25519KeyHash to Bech32 representation with given prefix. Will crash if prefix is invalid (length, mixed-case, etc) More on prefixes: https://cips.cardano.org/cips/cip5

#toBech32

toBech32 :: String -> Ed25519KeyHash -> Maybe Bech32String

Convert ed25519KeyHash to Bech32 representation with given prefix. Will return Nothing if prefix is invalid (length, mixed-case, etc) More on prefixes: https://cips.cardano.org/cips/cip5

Modules