#merkle-tree #balances #user #storage #user-balance

user-balance-merkle-tree

A simple Merkle tree implementation in Rust for user/balance storage

2 unstable releases

0.2.0 Jul 17, 2024
0.1.0 Jul 12, 2024

#1642 in Cryptography

28 downloads per month

MIT license

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.2–2MB
~43K SLoC