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

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

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

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
    6 of 20 committers (30.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.2%) to scientific vocabulary

Keywords

arkworks rust standard-library

Keywords from Contributors

cryptography r1cs zksnark pairings zero-knowledge-proofs snark groth16 marlin elliptic-curves finite-fields
Last synced: 5 months ago · JSON representation

Repository

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

Basic Info
  • Host: GitHub
  • Owner: arkworks-rs
  • License: apache-2.0
  • Language: Rust
  • Default Branch: master
  • Homepage: https://www.arkworks.rs
  • Size: 101 KB
Statistics
  • Stars: 42
  • Watchers: 8
  • Forks: 43
  • Open Issues: 15
  • Releases: 0
Topics
arkworks rust standard-library
Created over 5 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License Authors

README.md

arkworks::std

The arkworks ecosystem consists of Rust libraries for designing and working with zero knowledge succinct non-interactive arguments (zkSNARKs). This repository contains ark-std, a library that serves as a compatibility layer for no_std use cases, and also contains useful methods and types used by the rest of the arkworks ecosystem.

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 libraries: bash git clone https://github.com/arkworks-rs/utils.git cd utils cargo build --release

Tests

This library comes with comprehensive unit and integration tests for each of the provided crates. Run the tests with: bash cargo test --all

Benchmarks

To run the benchmarks, install the nightly Rust toolchain, via rustup install nightly, and then run the following command: bash cargo +nightly bench

License

The crates in this repository are 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: 1
  • Watch event: 3
  • Delete event: 3
  • Issue comment event: 6
  • Push event: 11
  • Pull request review event: 2
  • Pull request event: 18
  • Fork event: 4
  • Create event: 8
Last Year
  • Issues event: 1
  • Watch event: 3
  • Delete event: 3
  • Issue comment event: 6
  • Push event: 11
  • Pull request review event: 2
  • Pull request event: 18
  • Fork event: 4
  • Create event: 8

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 91
  • Total Committers: 20
  • Avg Commits per committer: 4.55
  • Development Distribution Score (DDS): 0.462
Past Year
  • Commits: 3
  • Committers: 3
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.667
Top Committers
Name Email Commits
Pratyush Mishra p****a@b****u 49
jon-chuang 9****g@u****m 8
weikeng w****k@b****u 7
Marek Kotewicz m****z@g****m 3
dependabot-preview[bot] 2****]@u****m 3
Dev Ojha V****n@u****m 2
François Garillot f****s@g****t 2
Howard Wu h****u@b****u 2
ValarDragon d****2@g****m 2
Michael Rosenberg m****l@m****b 2
Michele Orrù m****u@b****u 2
Kobi Gurkan k****k@g****m 1
Pascal Berrang c****t@p****t 1
Alex Ozdemir a****r@h****u 1
孙如绿叶 3****N@u****m 1
Yuncong Hu y****u@b****u 1
Steven a****a@1****m 1
lightyear15 l****5@u****m 1
mmagician m****4@p****m 1
Pascal Berrang p****l@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 14
  • Total pull requests: 54
  • Average time to close issues: 3 months
  • Average time to close pull requests: 28 days
  • Total issue authors: 9
  • Total pull request authors: 20
  • Average comments per issue: 2.21
  • Average comments per pull request: 1.0
  • Merged pull requests: 39
  • Bot issues: 0
  • Bot pull requests: 8
Past Year
  • Issues: 1
  • Pull requests: 19
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 month
  • Issue authors: 1
  • Pull request authors: 8
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.16
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 4
Top Authors
Issue Authors
  • jon-chuang (4)
  • weikengchen (2)
  • tsunrise (2)
  • ValarDragon (1)
  • Pratyush (1)
  • tcoratger (1)
  • burdges (1)
  • vlopes11 (1)
  • yymone (1)
Pull Request Authors
  • Pratyush (15)
  • weikengchen (6)
  • mmagician (5)
  • dependabot-preview[bot] (4)
  • dependabot[bot] (3)
  • getong (2)
  • shangchengbabaiban (2)
  • tcoratger (2)
  • mmaker (2)
  • ValarDragon (2)
  • rozbb (2)
  • alireza-shirzad (2)
  • jon-chuang (1)
  • lightyear15 (1)
  • silathdiir (1)
Top Labels
Issue Labels
D-easy (1)
Pull Request Labels
dependencies (7)

Packages

  • Total packages: 1
  • Total downloads:
    • cargo 31,022,002 total
  • Total docker downloads: 18,697,325
  • Total dependent packages: 160
  • Total dependent repositories: 2,030
  • Total versions: 6
  • Total maintainers: 1
crates.io: ark-std

A library for no_std compatibility

  • Versions: 6
  • Dependent Packages: 160
  • Dependent Repositories: 2,030
  • Downloads: 31,022,002 Total
  • Docker Downloads: 18,697,325
Rankings
Dependent packages count: 0.4%
Dependent repos count: 0.9%
Downloads: 1.1%
Docker downloads count: 5.4%
Average: 6.4%
Forks count: 11.7%
Stargazers count: 18.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

Cargo.toml cargo
  • rand 0.8 development
  • colored 2
  • num-traits 0.2
  • rand 0.8
  • rayon 1
.github/workflows/ci.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/toolchain v1 composite
  • actions/cache v2 composite
  • actions/checkout v2 composite