mirror of
https://github.com/logos-storage/gnark-plonky2-verifier.git
synced 2026-01-02 13:13:06 +00:00
* initial commit * most of the code done * made global poseidon chip * changed decompSize and added some panics * made all gl chip as pointers * working code * revert go.mod and go.sum * cleanup and comments * cleaned up range checker selection * renamed gnarkRangeCheckSelector to gnarkRangeCheckerSelector * addressed PR comment * addressed overflow issue identified by Veridise * added some comments * fixed some comment typos * restore change made from commit hash 85d20ce and 9617141
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
Languages
Go
100%