Skip to content

kotard8899/merkleTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merkle Tree for solidity

installation

You can install merkleTree with yarn:

yarn add merkleTree

or npm:

npm install merkleTree

or pnpm:

pnpm add merkleTree

Usage

  1. plant tree with whitelist
const TREE = plantTree(WHITELIST)
  1. get root
const ROOT = getRoot(TREE)
  1. get proof
const proof = getProof(WHITELIST, TREE, LEAF)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published