crypto_tree

Crates.iocrypto_tree
lib.rscrypto_tree
version0.1.0
created_at2026-01-03 16:31:42.53895+00
updated_at2026-01-03 16:31:42.53895+00
descriptionA cryptographic Merkle tree implementation for secure transaction verification.
homepage
repository
max_upload_size
id2020425
size28,965
Mustafa Tiftikci (mustafatiftikci)

documentation

README

CryptoTree - Rust Crate

A Rust implementation of a Merkle AVL Tree, designed for verifiable data storage and retrieval.

Features

  • Standard AVL Tree: O(log n) operations.
  • Merkle Proofs: Cryptographic proofs of inclusion for any node.
  • Safe Rust: Implemented without unsafe blocks.
  • WASM Compatible: Ready for compilation to wasm32-unknown-unknown.

Usage

use crypto_tree::CryptoBinaryTree;

let mut tree = CryptoBinaryTree::new();
tree.insert(tx);

// O(log n) search
if let Some(found) = tree.search("tx_id") {
    println!("{:?}", found);
}

Build

cargo build --release
cargo test
cargo clippy

License

MIT

Commit count: 0

cargo fmt