https://github.com/arkworks-rs/groth16

A Rust implementation of the Groth16 zkSNARK

https://github.com/arkworks-rs/groth16

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 17 committers (17.6%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.3%) to scientific vocabulary

Keywords

cryptography groth16 rust snark zksnark

Keywords from Contributors

pairings elliptic-curves finite-fields polynomials marlin polynomial-commitments sonic r1cs poseidon sponge
Last synced: 5 months ago · JSON representation

Repository

A Rust implementation of the Groth16 zkSNARK

Basic Info
  • Host: GitHub
  • Owner: arkworks-rs
  • License: apache-2.0
  • Language: Rust
  • Default Branch: master
  • Homepage: https://www.arkworks.rs
  • Size: 191 KB
Statistics
  • Stars: 304
  • Watchers: 13
  • Forks: 138
  • Open Issues: 19
  • Releases: 1
Topics
cryptography groth16 rust snark zksnark
Created over 5 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Codeowners

README.md

ark-groth16

The arkworks ecosystem consist of Rust libraries for designing and working with zero knowledge succinct non-interactive arguments (zkSNARKs). This repository contains an efficient implementation of the zkSNARK of [Groth16].

This library is released under the MIT License and the Apache v2 License (see License).

WARNING: This is an academic proof-of-concept prototype, and in particular has not received careful code review. This implementation is NOT ready for production use.

Build guide

The library compiles on the stable toolchain of the Rust compiler. To install the latest version of Rust, first install rustup by following the instructions here, or via your platform's package manager. Once rustup is installed, install the Rust toolchain by invoking: bash rustup install stable

After that, use cargo, the standard Rust build tool, to build the library: bash git clone https://github.com/arkworks-rs/groth16.git cd groth16 cargo build --release

This library comes with unit tests for each of the provided crates. Run the tests with: bash cargo test

License

This library is licensed under either of the following licenses, at your discretion.

  • Apache License Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

Unless you explicitly state otherwise, any contribution submitted for inclusion in this library by you shall be dual licensed as above (as defined in the Apache v2 License), without any additional terms or conditions.

Acknowledgements

This work was supported by: a Google Faculty Award; the National Science Foundation; the UC Berkeley Center for Long-Term Cybersecurity; and donations from the Ethereum Foundation, the Interchain Foundation, and Qtum.

An earlier version of this library was developed as part of the paper "ZEXE: Enabling Decentralized Private Computation".

Owner

  • Name: arkworks
  • Login: arkworks-rs
  • Kind: organization

An ecosystem for developing and programming with zkSNARKs

GitHub Events

Total
  • Issues event: 2
  • Watch event: 49
  • Delete event: 2
  • Issue comment event: 12
  • Push event: 4
  • Pull request review event: 2
  • Pull request event: 24
  • Fork event: 29
  • Create event: 2
Last Year
  • Issues event: 2
  • Watch event: 49
  • Delete event: 2
  • Issue comment event: 12
  • Push event: 4
  • Pull request review event: 2
  • Pull request event: 24
  • Fork event: 29
  • Create event: 2

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 108
  • Total Committers: 17
  • Avg Commits per committer: 6.353
  • Development Distribution Score (DDS): 0.639
Past Year
  • Commits: 5
  • Committers: 5
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.8
Top Committers
Name Email Commits
Pratyush Mishra p****a@b****u 39
Weikeng Chen w****k@b****u 8
Pascal Berrang c****t@p****t 7
debris m****z@g****m 7
Georgios Konstantopoulos me@g****m 7
Dev Ojha V****n@u****m 7
Kobi Gurkan k****k@g****m 7
François Garillot f****s@g****t 7
jon-chuang 9****g@u****m 7
Michael Rosenberg m****l@m****b 3
Howard Wu h****u@b****u 2
dependabot-preview[bot] 2****]@u****m 2
Lovesh Harchandani l****h@u****m 1
Michael Rosenberg m****o@f****m 1
Pascal Berrang p****l@g****m 1
clearloop c****y@f****m 1
mmagician m****4@p****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 16
  • Total pull requests: 85
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 20 days
  • Total issue authors: 13
  • Total pull request authors: 33
  • Average comments per issue: 1.44
  • Average comments per pull request: 0.73
  • Merged pull requests: 51
  • Bot issues: 0
  • Bot pull requests: 3
Past Year
  • Issues: 2
  • Pull requests: 26
  • Average time to close issues: N/A
  • Average time to close pull requests: 8 days
  • Issue authors: 2
  • Pull request authors: 15
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.77
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • weikengchen (2)
  • burdges (2)
  • ItsFunny (2)
  • fanym919 (1)
  • VegeBun-csj (1)
  • nirvantyagi (1)
  • sergey-melnychuk (1)
  • brucechin (1)
  • NikZak (1)
  • Pratyush (1)
  • swasilyev (1)
  • lazovicff (1)
  • vaqxai (1)
Pull Request Authors
  • Pratyush (15)
  • weikengchen (8)
  • ValarDragon (7)
  • mmagician (5)
  • crStiv (4)
  • rozbb (4)
  • dependabot-preview[bot] (2)
  • VolodymyrBg (2)
  • gakonst (2)
  • sergey-melnychuk (2)
  • DeVikingMark (2)
  • jonas-lj (2)
  • wamimi (2)
  • Olexandr88 (2)
  • peinlcy (2)
Top Labels
Issue Labels
D-medium (2) T-design (2) T-bug (1) P-medium (1) T-performance (1)
Pull Request Labels
dependencies (2)

Packages

  • Total packages: 1
  • Total downloads:
    • cargo 3,048,037 total
  • Total dependent packages: 22
  • Total dependent repositories: 295
  • Total versions: 6
  • Total maintainers: 1
crates.io: ark-groth16

An implementation of the Groth 2016 zkSNARK proof system

  • Versions: 6
  • Dependent Packages: 22
  • Dependent Repositories: 295
  • Downloads: 3,048,037 Total
Rankings
Dependent packages count: 2.0%
Downloads: 2.2%
Dependent repos count: 2.4%
Average: 5.3%
Forks count: 8.3%
Stargazers count: 11.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

Cargo.toml cargo
  • ark-bls12-377 ^0.3.0 development
  • ark-bls12-381 ^0.3.0 development
  • ark-cp6-782 ^0.3.0 development
  • ark-mnt4-298 ^0.3.0 development
  • ark-mnt4-753 ^0.3.0 development
  • ark-mnt6-298 ^0.3.0 development
  • ark-mnt6-753 ^0.3.0 development
  • csv 1 development
  • ark-crypto-primitives ^0.3.0
  • ark-ec ^0.3.0
  • ark-ff ^0.3.0
  • ark-poly ^0.3.0
  • ark-r1cs-std ^0.3.0
  • ark-relations ^0.3.0
  • ark-serialize ^0.3.0
  • ark-std ^0.3.0
  • derivative 2.0
  • rayon 1
  • tracing 0.1
.github/workflows/ci.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/toolchain v1 composite
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/checkout v1 composite
.github/workflows/linkify_changelog.yml actions
  • actions/checkout v2 composite
.github/workflows/release_pr.yml actions
  • actions/checkout v3 composite
  • cargo-bins/release-pr v2 composite
  • taiki-e/install-action v1 composite