Skip to content

This is a tool that generates a Merkle Tree with root and proof to use in smart contracts with merkle Whitelists

Notifications You must be signed in to change notification settings

fazelpejmanfar/Merkle-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merkle-Tree

Welcome to Merkle Tree Generator 👋

This is a tool that generates a Merkle Tree with root and proof to use in smart contracts with merkle Whitelists.

Install

npm install

Usage

npm run merkle

Step 1 Install the dependiecies,

Step 2 Add accounts in accounts.json and save it,

Step 3 Run npm run merkle,

Step 4 in console you can see the roothash of the tree, pass that root to your smart contract,

Step 5 to get a proof of an account , paste your account in merkle.js in const claimingAddress = keccak256('YOUR ACCOUNT');

About

This is a tool that generates a Merkle Tree with root and proof to use in smart contracts with merkle Whitelists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published