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.Transparent

Description

Functions to interact with the transparent addresses in the Zcash blockchain

Synopsis

Documentation

encodeTransparent #

Arguments

:: ZcashNet

The network, MainNet or TestNet

-> TransparentAddress

The address to encode

-> Text 

Encodes a TransparentAddress into the human-readable format per the Zcash Protocol section 5.6.1.1

genTransparentPrvKey #

Arguments

:: Seed

The cryptographic seed of the wallet

-> CoinType

The coin type constant to be used

-> AccountId

The index of the account to be used

-> IO TransparentSpendingKey 

Generate an Extended Private Key from a known HDSeed.

genTransparentReceiver #

Arguments

:: Int

The index of the address to be created

-> Scope

External for wallet addresses or Internal for change addresses

-> XPrvKey

The transparent private key

-> IO TransparentAddress 

Generate a transparent receiver