zingolabs-zewif 0.0.2

Fork of Blockhain Commons's zewif crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::{blob, blob_envelope};

// A hierarchical deterministic (HD) Sapling spending key with derivation information.
//
// `SaplingExtendedSpendingKey` extends the core spending key functionality by adding the necessary
// components for hierarchical deterministic (HD) key derivation according to [ZIP 32]. This
// enables the creation of structured wallet hierarchies with parent-child key relationships.
//
// This key is encoded as defined in https://zips.z.cash/zip-0032#sapling-extended-spending-keys
//
// [ZIP 32]: https://zips.z.cash/zip-0032
blob!(
    SaplingExtendedSpendingKey,
    169,
    "A Sapling Extended Spending Key, encoded as specified in ZIP 32"
);

blob_envelope!(SaplingExtendedSpendingKey);