Skip to content

isPeterXu/rust-accumulators

 
 

Repository files navigation

Accumulators and Vector Commitments

crates.io version CircleCI Docs License

Implementations based on Batching Techniques for Accumulators with Applications to IOPs and Stateless Blockchains.

Extra Readings:

- https://kodu.ut.ee/~lipmaa/papers/lip12b/cl-accum.pdf
- https://www.cs.purdue.edu/homes/ninghui/papers/accumulator_acns07.pdf
- https://github.com/Chia-Network/vdf-competition/blob/master/classgroups.pdf
- https://eprint.iacr.org/2018/623.pdf

Usage for Classgroups

We utilize a third party BigNum Lib for now. Pure rust implementation soon.

  • Install the GNU Multiple Precision Library
    • On Debian and derivatives (including Ubuntu):
      $ sudo apt-get install -y libgmp-dev
    • On Red Hat and derivatives (Fedora, CentOS)
      $ sudo dnf -y install gmp-devel
    • Using Homebrew
      $ brew install gmp

Install Rust

TODO

  • A full-fledged member set.

LICENSE

MIT or Apache 2.0

Contribution

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

About

Accumulators and Vector Commitments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%