#merkle-tree #accumulator #incremental #merkle #tree #mmr

accumulators

Complete package of multiple Accumulators with Stores and hashing functions (Hashers)

19 releases

new 0.4.9 Oct 30, 2024
0.4.7 Sep 11, 2024
0.4.2 May 3, 2024
0.4.1 Feb 27, 2024
0.1.2 Nov 30, 2023

#476 in Cryptography

Download history 27/week @ 2024-07-15 24/week @ 2024-07-22 22/week @ 2024-07-29 281/week @ 2024-08-12 33/week @ 2024-08-19 277/week @ 2024-08-26 19/week @ 2024-09-02 160/week @ 2024-09-09 26/week @ 2024-09-16 62/week @ 2024-09-23 192/week @ 2024-09-30 45/week @ 2024-10-07 210/week @ 2024-10-14 207/week @ 2024-10-21

665 downloads per month

Custom license

1.5MB
2K SLoC

Rust Accumulators

Cargo Test

Quick Start

Add dependency on Cargo.toml

accumulators = { version = "0.4", features = ["all"] }

Development

Test : cargo test --all-features Bench : cargo bench --all-features

Accumulators

- MMR

Requires: features = ["mmr"]

A Rust implementation of a Merkle Mountain Range (MMR) accumulator. With extensions.

MMR's README.md

- Incremental Merkle Tree

Requires: features = ["incremental_merkle_tree"]

A Rust implementation of an Incremental Merkle Tree accumulator.

Incremental Merkle Tree's README.md

Utils

Hashers:

Hashing functions used for hashing inside accumulators.

  • keccak: features = ["keccak"]

  • poseidon: features = ["poseidon"]

  • pedersen: features = ["pedersen"]

Stores:

Key value stores used for storing the accumulator data.

  • memory: features = ["memory"]

  • sqlite: features = ["sqlite"]

Reference

License

accumulators is licensed under the GNU General Public License v3.0.


Herodotus Dev Ltd - 2024

Dependencies

~41–60MB
~1M SLoC