Add new types for Spending Keys and Receivers

This commit is contained in:
Rene Vergara 2024-03-07 16:05:59 -06:00
parent e371fcdb72
commit f1174751fc
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 12 additions and 0 deletions

View File

@ -45,6 +45,18 @@ type Seed = C.ByteString
-- | A mnemonic phrase used to derive seeds
type Phrase = BS.ByteString
-- | A spending key for Sapling
type SaplingSpendingKey = BS.ByteString
-- | A spending key for Orchard
type OrchardSpendingKey = BS.ByteString
-- | A Sapling receiver
type SaplingReceiver = BS.ByteString
-- | An Orchard receiver
type OrchardReceiver = BS.ByteString
-- | Type to represent data after Bech32 decoding
data RawData = RawData
{ hrp :: !BS.ByteString -- ^ Human-readable part of the Bech32 encoding