Skip to content

MerkleMe allows you to create a whitelist without needing to understand or implement your own Merkle Tree. It allows you to generate proofs on the fly without running a node server. With MerkleMe, adding a whitelist to your project is as simple as copy + paste & integrating one simple post request into your frontend.

License

Notifications You must be signed in to change notification settings

nfgenes/merkleme

Repository files navigation

MerkleMe

This is an exploratory project to build a backend solution for generating Merkle trees for a given list of addresses (a whitelist). Lots of folks are needing whitelists for their NFT projects and typically have to go through the extra steps of generating a Merkle tree and then running a backend to verify proofs on the fly. These steps also require knowledge of Merkle trees to implement them.

The idea behind this project is to abstract away the Merkle tree process and simply provide a front end solution that allows anyone to copy + paste their whitelist into a form and click a button to automagically generate their Merkle Tree.

Once the Merkle tree is created, the developer only needs to add the root hash and the OpenZeppelin MerkleProof library to their minting contract. The developer's front end will then be able to grab a user's address (likely from their wallet) and use it to generate a Merkle proof on the fly for that given address via the MerkeMe backend API.

With a Merkle proof in hand, the frontend can then submit a transaction to the minting contract to attempt minting. The OpenZeppelin MerkleProof contract requires the proof, root and leaf:

verify(bytes32[] proof, bytes32 root, bytes32 leaf) → bool

MerkleMe Overview

The MerkleMe tool consists of two repos:

  1. The frontend web application for generating proofs (found here)
  2. The MerkleMe API found here: MerkeMe API

Upload, generate, publish

MerkleMe Overview

Verify

MerkleMe Overview

About

MerkleMe allows you to create a whitelist without needing to understand or implement your own Merkle Tree. It allows you to generate proofs on the fly without running a node server. With MerkleMe, adding a whitelist to your project is as simple as copy + paste & integrating one simple post request into your frontend.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •