Skip to main content

Crate zcash_keys

Crate zcash_keys 

Source
Expand description

A crate for Zcash key and address management.

zcash_keys contains Rust structs, traits and functions for creating Zcash spending and viewing keys and addresses.

§Feature flags

  • transparent-inputs — Enables use of transparent key parts and addresses
  • transparent-key-encoding — Enables use of zcashd-derived secp256k1 secret key encodings.
  • orchard — Enables use of Orchard key parts and addresses
  • sapling — Enables use of Sapling key parts and addresses
  • test-dependencies — Exposes APIs that are useful for testing, such as proptest strategies.

§Experimental features

  • unstable-frost — Exposes unstable APIs that are compatible with FROST key management
  • unstable — Exposes unstable APIs. Their behaviour may change at any time.
  • zcashd-compat — Exposes APIs that are useful for interacting with legacy zcashd key material

Modules§

address
Structs for handling supported address types.
encoding
Encoding and decoding functions for Zcash key and address structs.
keysorchard or sapling or transparent-inputs
Helper functions for managing light client key material.