Crate zcash_primitives
source ·Expand description
General Zcash primitives.
zcash_primitives
is a library that provides the core structs and functions necessary
for working with Zcash.
§Feature flags
multicore
(enabled by default) — Enables multithreading support for creating proofs.transparent-inputs
— Enables spending transparent notes with the transaction builder.test-dependencies
— Exposes APIs that are useful for testing, such asproptest
strategies.
Re-exports§
pub use zip32;
Modules§
- Structs and methods for handling Zcash block headers.
- Consensus logic and parameters.
- Network-specific Zcash constants.
- Support for legacy transparent addresses and scripts.
- Structs for handling encrypted memos.
- Parsers and serializers for Zcash Merkle trees.
- Structs and methods for handling Zcash transactions.
- ZIP 339 for seed phrase support.