project screenshot 1
project screenshot 2
project screenshot 3

snarkjs+

snarkjs frameworks improved with an input.json file generation

snarkjs+

Created At

ETHGlobal London

Project Description

snarkjs is a wonderful framework to generate ZK proofs, however when you are building new circuits you actually need to generate an input.json file at the right format manually. This snarkjs forked brings a new feature to the cli by adding the "gi" command which generates automatically an input.json file according to circuit.circom.

How it's Made

As this project implements new commands in snarkjs, code is only javascript. The core of the code is at src/input.js and the command has been added in cli. I also added the -rust|-r option to cast the input to a more rusty format, which can be really useful while rust witness generator such as https://github.com/philsippl/circom-witness-rs

background image mobile

Join the mailing list

Get the latest news and updates