Incremental Merkle tree implementations in Solidity.
[!WARNING]
If you are looking for the first version of this package, please visit this link.
[!WARNING]
These libraries have not been audited.
✔️ BinaryIMT (Poseidon)
✔️ QuinaryIMT (Poseidon)
✔️ LazyIMT (Poseidon)
✔️ LeanIMT (Poseidon) (Visual explanation)
Install the @zk-kit/imt.sol
package with npm:
npm i @zk-kit/imt.sol --save
or yarn:
yarn add @zk-kit/imt.sol
Please, see the test contracts for guidance on utilizing the libraries.