mirror of
https://github.com/arnaucube/gnark-plonky2-verifier.git
synced 2026-01-11 16:41:32 +01:00
c01f530fe1d0107cc20da226cfec541ece9fb882
* 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 hash85d20ceand9617141
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%