UnifiedSpendingKey
Index
Constructors
Methods
Constructors
constructor
Construct a new UnifiedSpendingKey
Arguments
network
- Must be either "main" or "test"seed
- At least 32 bytes of entry. Care should be taken as to how this is derivedhd_index
- ZIP32 hierarchical deterministic index of the account
Parameters
network: string
seed: Uint8Array
hd_index: number
Returns UnifiedSpendingKey
Methods
free
Returns void
to_unified_full_viewing_key
Obtain the UFVK corresponding to this spending key
Returns UnifiedFullViewingKey
A Zcash spending key
This is a wrapper around the
zcash_keys::keys::SpendingKey
type. It can be created from at least 32 bytes of seed entropy