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 Loading

  1. algebra algebra Public

    Libraries for finite field, elliptic curve, and polynomial arithmetic

    Rust 679 266

  2. groth16 groth16 Public

    A Rust implementation of the Groth16 zkSNARK

    Rust 264 105

  3. r1cs-std r1cs-std Public

    R1CS constraints for bits, fields, and elliptic curves

    Rust 146 66

  4. marlin marlin Public

    A Rust library for the Marlin preprocessing zkSNARK

    Rust 318 90

  5. crypto-primitives crypto-primitives Public

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

    Rust 192 93

  6. sumcheck sumcheck Public

    linear-time sumcheck protocol for multilinear polynomials and related addends

    Rust 62 32

Repositories

Showing 10 of 28 repositories
  • std Public

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

    arkworks-rs/std’s past year of commit activity
    Rust 38 Apache-2.0 36 8 4 Updated Jan 28, 2025
  • snark Public

    Interfaces for Relations and SNARKs for these relations

    arkworks-rs/snark’s past year of commit activity
    Rust 808 Apache-2.0 220 29 9 Updated Jan 16, 2025
  • nimue Public

    Fiat-Shamir for the masses.

    arkworks-rs/nimue’s past year of commit activity
    Rust 50 BSD-3-Clause 16 1 0 Updated Jan 9, 2025
  • algebra Public

    Libraries for finite field, elliptic curve, and polynomial arithmetic

    arkworks-rs/algebra’s past year of commit activity
    Rust 679 Apache-2.0 266 150 (11 issues need help) 37 Updated Jan 1, 2025
  • spartan Public Forked from microsoft/Spartan

    Spartan on Arkworks

    arkworks-rs/spartan’s past year of commit activity
    Rust 40 MIT 131 0 2 Updated Dec 12, 2024
  • poly-commit Public

    A Rust library for polynomial commitments

    arkworks-rs/poly-commit’s past year of commit activity
    Rust 363 Apache-2.0 137 17 9 Updated Dec 2, 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 192 Apache-2.0 93 37 9 Updated Nov 5, 2024
  • gm17 Public

    A Rust library for the preprocessing zkSNARK of Groth and Maller

    arkworks-rs/gm17’s past year of commit activity
    Rust 10 Apache-2.0 6 0 10 Updated Oct 29, 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 246 Apache-2.0 120 18 4 Updated Oct 28, 2024
  • groth16 Public

    A Rust implementation of the Groth16 zkSNARK

    arkworks-rs/groth16’s past year of commit activity
    Rust 264 Apache-2.0 105 8 5 Updated Oct 28, 2024