Merkle Trees are a tree-like structure where every node on the tree is represented by a value that is the result of some cryptographic hash function. Merkle trees nodes:
- Leaf node-> last node of the merkle tree and their value is hash of original data.
- Parent node -> their value is the result of the corresponding child node.
- Root node -> stores merkle root hash.
This repo contains two main file:
- JS file which generates the merkle tree.
- Solidity file which verify the merkle proof.