Expand description
Merkle tree utilities for proof generation
Provides merkle tree operations matching the Circom circuit implementations.
Core merkle functions are re-exported from circuits::core::merkle.
Structs§
- Merkle
Proof - Merkle proof data returned to JavaScript
- Merkle
Tree - Simple Merkle tree for proof generation
Functions§
- compute_
merkle_ root - Compute merkle root from leaves
- merkle_
proof_ internal - Compute the Merkle path and path index bits for a given leaf index
- merkle_
root - Build a Merkle root from a full list of leaves
- poseidon2_
compression - Poseidon2 compression for merkle tree nodes