Crate smt_circom

Crate smt_circom 

Source
Expand description

Sparse Merkle Tree, compatible with circom proofs.

This crate implements a Poseidon-based Sparse Merkle Tree suitable for generating witnesses/proofs for circom circuits. Nodes are persisted via a pluggable NodeStore and keyed/hashed as 32-byte big-endian field elements over BN254.

Modules§

store

Structs§

CircomProof
Proof object tailored for circom circuits.
SparseMerkleTree

Enums§

Error
Errors returned by SMT operations.
Node
A Sparse Merkle Tree node.