gnark

Open Source

Consensys' fast zk-SNARK library in Go with a high-level circuit API, implementing Groth16 and PLONK.

About

gnark is a zk-SNARK library developed by Consensys that lets developers define circuits directly in Go using a frontend API, then prove them with Groth16 or PLONK backends over multiple curves. It is known for strong performance and is used in production systems including Linea's prover stack. Writing circuits in a general-purpose language brings familiar tooling but also subtle pitfalls around API misuse (e.g. unconstrained witness values), and gnark has run a public bug bounty and shipped security advisories for issues found in the library.

Categories

Circuit Languages Proving Systems

Chains

gnark evm

Install

go get github.com/consensys/gnark@latest

Related Tools

Quick Info

Pricing
free
Open Source
Yes
Last validated
Jul 2026