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.

§Experimental features

⚠️ Enabling these features will likely make your code incompatible with current Zcash consensus rules!

  • unstable-nu6 — Exposes the in-development NU6 features.
  • zfuture — Exposes early in-development features that are not yet planned for any network upgrade.
  • local-consensus — Exposes support for working with a local consensus (e.g. regtest

Re-exports§

Modules§