You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arnaucube 853a273aa9 add observer for FriConfig & FriParams in verifier circuit, to match the updated version of plonky2 at PR#1678 (https://github.com/0xPolygonZero/plonky2/pull/1678) 2 months ago
audits feat: add veridise audit (#50) 1 year ago
challenger add observer for FriConfig & FriParams in verifier circuit, to match the updated version of plonky2 at PR#1678 (https://github.com/0xPolygonZero/plonky2/pull/1678) 2 months ago
fri fix: Support range checking non aligned bitwidth values (#47) 1 year ago
goldilocks update goldilocks generators to the plonky2's updated ones at plonky2's PR#1579 (https://github.com/0xPolygonZero/plonky2/pull/1579) 2 months ago
plonk fix: Support range checking non aligned bitwidth values (#47) 1 year ago
poseidon fix: Support range checking non aligned bitwidth values (#47) 1 year ago
testdata Significant refactor and all tests passing, as well as optimized range check for Goldilocks (#37) 2 years ago
trusted_setup feat: Add trusted setup via AZTEC Ignition Ceremony data (#48) 1 year ago
types add observer for FriConfig & FriParams in verifier circuit, to match the updated version of plonky2 at PR#1678 (https://github.com/0xPolygonZero/plonky2/pull/1678) 2 months ago
variables fix for V-SCT-VUL-016 1 year ago
verifier add observer for FriConfig & FriParams in verifier circuit, to match the updated version of plonky2 at PR#1678 (https://github.com/0xPolygonZero/plonky2/pull/1678) 2 months ago
.gitignore feat: Add trusted setup via AZTEC Ignition Ceremony data (#48) 1 year ago
LICENSE update readme and MIT 2 years ago
README.md fix for V-SCT-VUL-027 1 year ago
benchmark.go feat: Add trusted setup via AZTEC Ignition Ceremony data (#48) 1 year ago
go.mod feat: Add trusted setup via AZTEC Ignition Ceremony data (#48) 1 year ago
go.sum feat: Add trusted setup via AZTEC Ignition Ceremony data (#48) 1 year ago

README.md

Gnark Plonky2 Verifier

This is an implementation of a Plonky2 verifier in Gnark (supports Groth16 and PLONK).

Besides the verifier, there are some Gnark implementation of circuits in this repo that may be useful for other projects:

Requirements

Benchmark

To run the benchmark,

go run benchmark.go

Profiling

First run the benchmark with profiling turned on

go run benchmark.go -profile

Then use the following command to generate a visualization of the pprof

go tool pprof --png gnark.pprof > verifier.png