Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 737 Bytes

README.md

File metadata and controls

64 lines (43 loc) · 737 Bytes

circom and snarkjs tutorial

This tutorial is about how to use circom and snarkjs, not for understanding it, and based on circom and snarkjs tutorial

Install

yarn install

Compile the circuit

yarn build:circuits

Check circuits(optional)

yarn show
yarn show:constraints

Setup

yarn setup

Create the proof

yarn prove

Verify the proof

yarn verify

Generate the solidity verifier

yarn generate:contracts

Compile the contracts

yarn build:contracts

Generate calldata(optional)

yarn generate:calldata

Test

yarn test