5 releases

0.2.3 Sep 10, 2024
0.2.2 Aug 12, 2024
0.2.1 Jul 24, 2024
0.2.0 Jul 1, 2024
0.1.0 Nov 14, 2023

#2 in #celestia

Download history 3719/week @ 2024-12-09 3950/week @ 2024-12-16 629/week @ 2024-12-23 1771/week @ 2024-12-30 5338/week @ 2025-01-06 5746/week @ 2025-01-13 4221/week @ 2025-01-20 3604/week @ 2025-01-27 3855/week @ 2025-02-03 6657/week @ 2025-02-10 5949/week @ 2025-02-17 5493/week @ 2025-02-24 5964/week @ 2025-03-03 5186/week @ 2025-03-10 5169/week @ 2025-03-17 4394/week @ 2025-03-24

21,233 downloads per month
Used in 10 crates (3 directly)

MIT/Apache

105KB
2K SLoC

codecov

NMT

An implementation of a namespaced merkle tree in Rust.

Warning

This code has not been audited, and may contain critical vulnerabilities. Do not attempt to use in production.

Functionality

  • Compute merkle root

  • Create index-based range proofs

  • Verify index-based range proofs

  • Create namespace range proofs

  • Verify namespace range proofs

  • Narrow namespace range proofs: supply part of the range to generate a proof for the remaining sub-range

License

Licensed under the Apache License, Version 2.0.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this repository by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Dependencies

~0.7–1.5MB
~33K SLoC