Registry / crypto / zebra-chain

zebra-chain

JSON →
library10.0.0rscratesunverified

Core Zcash data structures for blockchain operations.

# Cargo.toml [dependencies] zebra-chain = "10.0.0"
INSTALL
IMPORT
SIG · ZEBRA-CHAIN
Z
zebra-chain
cryptorustv10.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Block
use zebra_chain::block::Block;

Creates a default Zcash block and prints its hash.

use zebra_chain::block::Block; fn main() { let block = Block::default(); println!("Block hash: {:?}", block.hash()); }
Debug
Known issues
gotchaHeavy dependency on Zcash consensus rules; may require network sync for full functionality.
fix
Use with zebra-network for complete blockchain operations.
affects: >=10.0.0
Upgrade
Version history
10.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
40
Resources
zebra-chain — cargo add zebra-chain · libregistry