zingolabs_zewif/sapling/sapling_extended_full_viewing_key.rs
1use crate::{blob, blob_envelope};
2
3// A hierarchical deterministic (HD) Sapling spending key with derivation information.
4//
5// `SaplingExtendedFullViewingKey` extends the core spending key functionality by adding the
6// necessary components for hierarchical deterministic (HD) key derivation according to [ZIP 32].
7// This enables the creation of structured wallet hierarchies with parent-child key relationships.
8//
9// This key is encoded as defined in https://zips.z.cash/zip-0032#sapling-extended-full-viewing-keys
10//
11// [ZIP 32]: https://zips.z.cash/zip-0032
12blob!(
13 SaplingExtendedFullViewingKey,
14 73,
15 "A Sapling Extended Full Viewing Key, encoded as specified in ZIP 32"
16);
17
18blob_envelope!(SaplingExtendedFullViewingKey);