Skip to content

Latest commit

 

History

History

circom

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Circuit

Build circuit and generate zkey

  • Download powers of tau and store it in the root of the circom folder
  • Run sh zkey.sh <Path to dir of circuit>

Generate proof

  • Insert public input in input_public.json in the folder of the circuit
  • Run sh prove.sh <Path to dir of circuit>

Copy circuit data to js

  • Run sh copy.sh <Path to dir of circuit> <Folder name in js zkp folder>
  • Example: sh copy.sh circuit update