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

accumulators

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

12 unstable releases (3 breaking)

0.4.2 May 3, 2024
0.4.1 Feb 27, 2024
0.4.0 Jan 17, 2024
0.3.0 Jan 3, 2024
0.1.2 Nov 30, 2023

#7 in #mmr

Download history 33/week @ 2024-02-18 180/week @ 2024-02-25 27/week @ 2024-03-03 52/week @ 2024-03-10 2/week @ 2024-03-17 31/week @ 2024-03-24 22/week @ 2024-03-31 4/week @ 2024-04-07 109/week @ 2024-04-28 26/week @ 2024-05-05 1/week @ 2024-05-12 22/week @ 2024-05-19 8/week @ 2024-05-26

76 downloads per month

Custom license

1.5MB
2K SLoC

Rust Accumulators

Cargo Test

Quick Start

Add dependency on Cargo.toml

accumulators = { version = "0.4.0", 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–57MB
~1M SLoC