2 unstable releases
0.2.0 | Jul 17, 2024 |
---|---|
0.1.0 | Jul 12, 2024 |
#1640 in Cryptography
6KB
67 lines
U-B Simple Merkle Tree
A simple Merkle tree implementation in Rust for user/balance storage.
Features
- Create a Merkle tree with user balances
- Add balances to the tree
- Get the Merkle root
- Calculate the size of the tree
Usage
Add this to your Cargo.toml
:
[dependencies]
user-balance-merkle-tree = "0.1.0"
Dependencies
~1.3–2MB
~45K SLoC