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

accumulators

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

19 releases

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

#717 in Cryptography

Download history 12/week @ 2024-07-20 35/week @ 2024-07-27 192/week @ 2024-08-10 119/week @ 2024-08-17 262/week @ 2024-08-24 35/week @ 2024-08-31 152/week @ 2024-09-07 34/week @ 2024-09-14 52/week @ 2024-09-21 192/week @ 2024-09-28 50/week @ 2024-10-05 142/week @ 2024-10-12 250/week @ 2024-10-19 165/week @ 2024-10-26 68/week @ 2024-11-02

628 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

~42–58MB
~1M SLoC