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

accumulators

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

11 unstable releases (3 breaking)

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

#7 in #mmr

Download history 13/week @ 2023-12-25 20/week @ 2024-01-01 24/week @ 2024-01-15 34/week @ 2024-02-19 188/week @ 2024-02-26 20/week @ 2024-03-04 52/week @ 2024-03-11 32/week @ 2024-03-25 22/week @ 2024-04-01

108 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–58MB
~1M SLoC