https://github.com/jorbush/merkle_tree
merkle tree implementation in Rust
https://github.com/jorbush/merkle_tree
Last synced: 11 months ago
JSON representation
merkle tree implementation in Rust
- Host: GitHub
- URL: https://github.com/jorbush/merkle_tree
- Owner: jorbush
- Created: 2024-08-05T05:25:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-06T06:31:35.000Z (almost 2 years ago)
- Last Synced: 2025-03-26T20:17:32.028Z (over 1 year ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Merkle Tree Implementation in Rust
An implementation of a Merkle Tree in Rust.
> [!NOTE]
> A Merkle Tree is a binary tree where each leaf node represents a hash of data, and each non-leaf node represents the hash of its children. It is commonly used in cryptographic applications to ensure data integrity.
## Run the code
You can modify the code in the `src/main.rs` file.
To run the code, use the following command:
```bash
cargo run
```
## Testing
To run the tests, use the following command:
```bash
cargo test
```
## Formatting
To format the code, use the following command:
```bash
cargo fmt
```