zk-kit-imt-custom-hash
Version:
Incremental Merkle tree implementation in Solidity.
61 lines (47 loc) • 1.91 kB
Markdown
<p align="center">
<h1 align="center">
Incremental Merkle Tree (Solidity)
</h1>
<p align="center">Incremental Merkle tree implementation in Solidity.</p>
</p>
<p align="center">
<a href="https://github.com/privacy-scaling-explorations/zk-kit.solidity">
<img src="https://img.shields.io/badge/project-zk--kit-blue.svg?style=flat-square">
</a>
<a href="https://github.com/privacy-scaling-explorations/zk-kit.solidity/tree/main/packages/imt.sol/contracts/LICENSE">
<img alt="NPM license" src="https://img.shields.io/npm/l/%40zk-kit%2Fimt.sol?style=flat-square">
</a>
<a href="https://www.npmjs.com/package/zk-kit-imt-custom-hash.sol">
<img alt="NPM version" src="https://img.shields.io/npm/v/zk-kit-imt-custom-hash.sol?style=flat-square" />
</a>
<a href="https://npmjs.org/package/zk-kit-imt-custom-hash.sol">
<img alt="Downloads" src="https://img.shields.io/npm/dm/zk-kit-imt-custom-hash.sol.svg?style=flat-square" />
</a>
<a href="https://prettier.io/">
<img alt="Code style prettier" src="https://img.shields.io/badge/code%20style-prettier-f8bc45?style=flat-square&logo=prettier" />
</a>
</p>
<div align="center">
<h4>
<a href="https://appliedzkp.org/discord">
🗣️ Chat & Support
</a>
</h4>
</div>
> [!WARNING]
> These library has **not** been audited.
> [!WARNING]
> If you are looking for the first version of this package, please visit this [link](https://github.com/privacy-scaling-explorations/zk-kit/tree/imt-v1/packages/incremental-merkle-tree.sol).
---
## 🛠 Install
### npm or yarn
Install the `zk-kit-imt-custom-hash` package with npm:
```bash
npm i zk-kit-imt-custom-hash --save
```
or yarn:
```bash
yarn add zk-kit-imt-custom-hash
```
## 📜 Usage
Please, see the [test contracts](./test) for guidance on utilizing the libraries.