zcash-haskell/src/HaskellZcash/Sapling.hs

9 lines
275 B
Haskell
Raw Normal View History

module HaskellZcash.Sapling where
import C.Zcash (rustWrapperIsShielded)
import qualified Data.ByteString as BS
-- | Check if given bytesting is a valid encoded shielded address
isValidShieldedAddress :: BS.ByteString -> Bool
isValidShieldedAddress = rustWrapperIsShielded