pmtree
pmtree is the implementation of persistent, fix-sized, sparse (optimized) Merkle Tree in Rust. The main goal of this implementation is to be integrated into Vac/zerokit for RLN, but in general implement bigger/better API to possibly be integrated into other projects too.
pmtree is insipired by Vac's Merkle Tree and Monotree.
What pmtree supports
- Insertion/Deletion;
- Storing/Restoring tree state to/from file (database, f.e. through
sled_db);
- Tree root retrieval;
- Error handling;
- Proof/Verify API;
- Poseidon hash-function;
- Batch insertion
In progress
- WASM-Support (+ IndexedDB ?)
pmtree
pmtree is the implementation of persistent, fix-sized, sparse (optimized) Merkle Tree in Rust. The main goal of this implementation is to be integrated into Vac/zerokit for RLN, but in general implement bigger/better API to possibly be integrated into other projects too.
pmtree is insipired by Vac's Merkle Tree and Monotree.
What
pmtreesupportssled_db);In progress