zcash-haskell-0.5.3.0: Utilities to interact with the Zcash blockchain
Copyright2022-2024 Vergara Technologies
LicenseMIT
Maintainerpitmutt@vergara.tech
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe-Inferred
LanguageHaskell2010

ZcashHaskell.Sapling

Description

Functions to interact with the Sapling shielded pool of the Zcash blockchain.

Synopsis

Documentation

isValidShieldedAddress :: ByteString -> Bool #

Check if given bytesting is a valid encoded shielded address

isValidSaplingViewingKey :: ByteString -> Bool #

Check if given bytestring is a valid Sapling viewing key

matchSaplingAddress :: ByteString -> ByteString -> Bool #

Check if the given bytestring for the Sapling viewing key matches the second bytestring for the address

decodeSaplingOutput :: ByteString -> ByteString -> Maybe DecodedNote #

Attempt to decode the given raw tx with the given Sapling viewing key

genSaplingSpendingKey :: Seed -> CoinType -> Int -> Maybe SaplingSpendingKey #

Attempts to obtain a sapling SpendingKey using a HDSeed

genSaplingPaymentAddress :: Int -> SaplingSpendingKey -> Maybe SaplingReceiver #

Attempts to generate a sapling Payment Address using an ExtendedSpendingKey and a Diversifier Index

genSaplingInternalAddress :: SaplingSpendingKey -> Maybe SaplingReceiver #

Generate an internal Sapling address

Orphan instances