Expand description
This module deals with verification of Merkle Tree proofs.
The tree and the proofs can be generated using OpenZeppelin’s
merkle tree library. You will
find a quickstart guide in its README.
WARNING: You should avoid using leaf values that are 64 bytes long
prior to hashing, or use a hash function other than keccak256 for
hashing leaves. This is because the concatenation of a sorted pair
of internal nodes in the Merkle tree could be reinterpreted as a
leaf value. OpenZeppelin’s JavaScript library generates Merkle trees
that are safe against this attack out of the box.
Structs§
- Verifier
- Verify merkle proofs.
Enums§
- Multi
Proof Error - An error that occurred while verifying a multi-proof.