An open API service indexing awesome lists of open source software.

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

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
```