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 as proptest strategies.

Re-exports§

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.