Skip to main content

Add gnark to your project

Prerequisites​

Install gnark​

gnark is a standard Go module, install it using the following command inside your Go module:

go get github.com/consensys/gnark@latest
info

gnark targets Go 1.25 or newer. It is optimized for amd64 and also supports experimental GPU acceleration for Groth16 through the ICICLE backend.