@authenticid-labs/merkle-tree-proof
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published
npm i @authenticid-labs/merkle-tree-proof

or

yarn add @authenticid-labs/merkle-tree-proof

Usage

const { generateMerkleTreeRoot, generateMerkleTree, doMerkleProof, getMerkleTreeRoot } = require('@authenticid-labs/merkle-tree-proof');

const root = await getMerkleTreeRoot(provider, wallet_address);
const tree = generateMerkleTree(input: string[]);
const success = doMerkleProof(tree: MerkleTree, toTest: string, root: string);

Package Sidebar

Install

npm i @authenticid-labs/merkle-tree-proof

Weekly Downloads

7

Version

0.0.7

License

ISC

Unpacked Size

64.1 kB

Total Files

6

Last publish

Collaborators

  • shawnmitchell.eth