Skip to content
@arkworks-rs

arkworks

An ecosystem for developing and programming with zkSNARKs

arkworks

arkworks is a Rust ecosystem for zkSNARK programming. Libraries in the arkworks ecosystem provide efficient implementations of all components required to implement zkSNARK applications, from generic finite fields to R1CS constraints for common functionalities.

Getting started

Below are some resources for getting started working with arkworks crates:

Getting Involved

We have a Discord community where folks can ask questions and learn about zkSNARK programming. We also have a Twitter where we (infrequently) post updates.

Repo index

Working with SNARKs

  • snark - defines interfaces for a SNARK, for your application to generically use them
  • relations - defines interfaces for relations, e.g. r1cs, AIR

SNARK proving systems

Fully packaged SNARK crates

  • groth16
  • marlin - universal setup SNARK for r1cs
  • gm17
  • gemini - an elastic proof system for streaming inputs
  • ripp -inner pairing product argument system

Circuit building

Algebra

Citation

If you use arkworks libraries in your research projects, please cite them using the following template:

@software{arkworks,
  author = {arkworks contributors},
  title = {\texttt{arkworks} zkSNARK ecosystem},
  url = {https://arkworks.rs},
  year = {2022},
}

Pinned

  1. algebra algebra Public

    Libraries for finite field, elliptic curve, and polynomial arithmetic

    Rust 569 221

  2. groth16 groth16 Public

    A Rust implementation of the Groth16 zkSNARK

    Rust 211 79

  3. r1cs-std r1cs-std Public

    R1CS constraints for bits, fields, and elliptic curves

    Rust 130 51

  4. marlin marlin Public

    A Rust library for the Marlin preprocessing zkSNARK

    Rust 302 82

  5. crypto-primitives crypto-primitives Public

    Interfaces and implementations of cryptographic primitives, along with R1CS constraints for them

    Rust 150 67

  6. sumcheck sumcheck Public

    linear-time sumcheck protocol for multilinear polynomials and related addends

    Rust 48 26

Repositories

Showing 10 of 28 repositories
  • groth16 Public

    A Rust implementation of the Groth16 zkSNARK

    Rust 211 Apache-2.0 79 6 3 Updated Jun 18, 2024
  • nimue Public
    Rust 35 BSD-3-Clause 7 5 1 Updated Jun 16, 2024
  • poly-commit Public

    A Rust library for polynomial commitments

    arkworks-rs/poly-commit’s past year of commit activity
    Rust 297 Apache-2.0 116 16 8 Updated Jun 10, 2024
  • ldt Public

    An `arkworks` library for low-degree testing

    Rust 15 Apache-2.0 3 1 0 Updated Jun 6, 2024
  • algebra Public

    Libraries for finite field, elliptic curve, and polynomial arithmetic

    Rust 569 Apache-2.0 221 137 (11 issues need help) 27 Updated May 29, 2024
  • ripp Public

    Argument systems for inner pairing products

    arkworks-rs/ripp’s past year of commit activity
    Rust 41 Apache-2.0 13 3 2 Updated May 17, 2024
  • r1cs-std Public

    R1CS constraints for bits, fields, and elliptic curves

    arkworks-rs/r1cs-std’s past year of commit activity
    Rust 130 Apache-2.0 51 22 11 Updated Apr 25, 2024
  • circom-compat Public

    Arkworks bindings to Circom's R1CS, for Groth16 Proof and Witness generation in Rust.

    arkworks-rs/circom-compat’s past year of commit activity
    Rust 224 Apache-2.0 93 17 5 Updated Apr 16, 2024
  • crypto-primitives Public

    Interfaces and implementations of cryptographic primitives, along with R1CS constraints for them

    arkworks-rs/crypto-primitives’s past year of commit activity
    Rust 150 Apache-2.0 67 36 7 Updated Apr 16, 2024
  • std Public

    A standard library wrapper for use in the `arkworks` ecosystem

    arkworks-rs/std’s past year of commit activity
    Rust 37 Apache-2.0 30 8 1 Updated Mar 25, 2024