# Consensys/gnark

gnark is a fast zk-SNARK library that offers a high-level API to design circuits. The library is open source and developed under the Apache 2.0 license

Repository: https://github.com/Consensys/gnark
Canonical: https://ross.abutalabs.com/products/gnark
Homepage: https://play.gnark.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: zkp, zksnark, zk-snarks, gnark, r1cs, golang, plonk, zk-rollup, zkevm
Last push: 2026-08-24T18:19:35+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 75, longevity 100
- inputs: {"age_days": 2382, "days_push": 9, "days_rel": 9, "gap_med": 97, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1731, forks 532 (observed 2026-08-28T04:05:28.659329+00:00)

## What it is
gnark is a fast zk-SNARK library in Go offering a high-level API to define circuits, compile them to constraint systems, and generate/verify proofs with Groth16 and PLONK backends. It supports multiple pairing-friendly curves and powers production systems like the Linea zk-rollup.

## Use cases
- build zero-knowledge proof circuits in Go
- generate and verify Groth16 proofs
- generate and verify PLONK proofs
- develop zk-rollup or zkEVM components
- export Solidity verifier contracts for on-chain verification
- prototype zk circuits in the browser playground

## When to choose
- you need a high-performance, production-grade zk-SNARK library in Go
- you want to write circuits in idiomatic Go with reusable gadgets
- you need multiple proving systems (Groth16, PLONK) and curves
- you are building zk-rollups or blockchain privacy infrastructure

## When to avoid
- you need zk tooling in a language other than Go
- you require stable serialized proof formats across versions
- you need GPU acceleration as a mature, non-experimental feature
- you need a simple high-level zk API without circuit-level thinking

## Facets
- artifact type: library
- maturity: active
- function: cryptography, security, compiler, sdk
- domain: blockchain, developer-tools
- platform: go, cross-platform, wasm
- tags: zk-snarks, zero-knowledge-proofs, groth16, plonk, r1cs, zk-rollup, zk-evm, circuit-design, proving-systems, elliptic-curves, cryptography, algorithms, gpu

## Member repositories
- Consensys/gnark (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.659329+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:31:40.908708+00:00, confidence not recorded.
  - readme: https://github.com/Consensys/gnark (fetched 2026-08-28T04:05:28.659329+00:00, sha db681356429f)
  - homepage: https://play.gnark.io (fetched 2026-08-29T11:08:22.524176+00:00, sha 4de8b1289256)
- Data as of 2026-08-30T08:39:29.467469+00:00.
