What is a Merkle Proof?

Merkle Trees (hash trees) allow for efficient and secure verification of large data structures. A Merkle Proof shows that a specific piece of data is part of the overall set without needing the entire dataset.

In Web3, Merkle Trees are primarily used for Airdrops, Allowists, and ZK-rollups. A smart contract only stores the 32-byte Merkle Root to save gas.

When a user claims an airdrop, they submit their specific address along with their 'Proof Array' generated by this tool. The contract verifies the proof matches the stored root.

This specific generator uses standard Ethereum defaults: Keccak256 hashing and Pair Sorting (`sortPairs: true`).

1How to Use

  • 1. Paste a list of addresses (or any data), one per line.
  • 2. [Optional] To get an array of proofs for a specific address, enter it in the Target Leaf box.
  • 3. Click Generate.
  • 4. Copy the Merkle Root into your Smart Contract.
  • 5. Copy the Proof Array into your mint/claim function parameter.