merkletree-kotard
v1.0.1
Published
## installation
Downloads
5
Readme
Merkle Tree for solidity
installation
You can install merkleTree with yarn:
yarn add merkletree-kotard
or npm:
npm install merkletree-kotard
or pnpm:
pnpm add merkletree-kotard
Usage
- plant tree with whitelist
const TREE = plantTree(WHITELIST)
- get root
const ROOT = getRoot(TREE)
- get proof
const proof = getProof(WHITELIST, TREE, LEAF)