@airswap/merkle
v0.0.3
Published
Merkle tree tools adapted from OpenZeppelin
Downloads
45
Readme
Merkle
Merkle Tree Utilities
Resources
- About → https://about.airswap.io/
- Website → https://www.airswap.io/
- Twitter → https://twitter.com/airswap
- Chat → https://chat.airswap.io/
Usage
Add the package to your project:
yarn add @airswap/merkle
Import into your application:
import { generateTreeFromData, generateTreeFromElements, getRoot, getProof } from '@airswap/merkle';
Commands
| Command | Description |
| :------------- | :-------------------------------------- |
| yarn
| Install dependencies |
| yarn clean
| Delete the contract build
folder |
| yarn compile
| Compile all contracts to build
folder |
| yarn test
| Run all tests in the test
folder |