2 releases
Uses new Rust 2024
new 0.0.2 | May 22, 2025 |
---|---|
0.0.1 | May 21, 2025 |
#2 in #noir
38 downloads per month
6KB
76 lines
zk-prover
A Rust library for generating and verifying zero-knowledge proofs using Noir and [Barretenberg].
Features
- Wraps
nargo
andbarretenberg
tools - Loads Noir inputs from JSON
- Generates
.proof
and.vk
files - Prepares Solidity verifier contracts
Usage
use zk_prover::prove_and_verify;
prove_and_verify("target/proof.acir", "input.json")?;
Requirements
- nargo and bb (barretenberg) installed and available in $PATH
License
ZK Porver is open-source software licensed under the MIT License.
Dependencies
~1–2MB
~40K SLoC