README
Merkle
Merkle Tree Utilities
Resources
- Docs → https://docs.airswap.io/
- Website → https://www.airswap.io/
- Blog → https://blog.airswap.io/
- Support → https://support.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 |