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.
Kevin Jue 297a82025f fix for V-SCT-VUL-002 and V-SCT-VUL-003 1 year ago
challenger Significant refactor and all tests passing, as well as optimized range check for Goldilocks (#37) 2 years ago
fri feat: Plonk optimizations (#39) 2 years ago
goldilocks fix for V-SCT-VUL-002 and V-SCT-VUL-003 1 year ago
plonk feat: Plonk optimizations (#39) 2 years ago
poseidon feat: Plonk optimizations (#39) 2 years ago
testdata Significant refactor and all tests passing, as well as optimized range check for Goldilocks (#37) 2 years ago
types feat: Plonk optimizations (#39) 2 years ago
variables Significant refactor and all tests passing, as well as optimized range check for Goldilocks (#37) 2 years ago
verifier fix for V-SCT-VUL-005 1 year ago
.gitignore feat: Plonk optimizations (#39) 2 years ago
LICENSE update readme and MIT 2 years ago
README.md feat: Plonk optimizations (#39) 2 years ago
benchmark.go feat: Plonk optimizations (#39) 2 years ago
go.mod Significant refactor and all tests passing, as well as optimized range check for Goldilocks (#37) 2 years ago
go.sum Significant refactor and all tests passing, as well as optimized range check for Goldilocks (#37) 2 years 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