-
Hi, I am designing a module for Cosmos Blockchain using ganrk. Q1. Is there any difference from zokrates, which is an Ethereum-specific library? Q2. I'm aware that zokrates has a specification to automatically drop smart contract functions into the circuit (or not?). Q3. In gnark, you need to describe the constraints of the circuit by yourself, right? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello :-) Here are few differences between
on Q2; on Q3: Our main effort in the upcoming months is to enable programmable rollups. |
Beta Was this translation helpful? Give feedback.
Hello :-)
Here are few differences between
gnark
and Zokrates;gnark
has no external dependency. It is not a wrapper around a backend, it implements the backend and the frontend part of a zkSNARK scheme. Performances are good (1 & 2)gnark
circuits are written in Go. It is a design choice not to propose another zkSNARK-DSL, and rely on a robust toolchain (Go). Among other things, it enables to debug, document, test circuits like any other Go programs. Easy IDE integration / no long term maintenance effort. Easier to integrate into larger project (APIs, serialization, logging, monitoring, ...).gnark
is Apache 2.0 (vs LGPL)gnark
supports Groth16 and PlonK proving schemeson Q2;
Integrat…