Miyamura80 / ZK_Interactive_Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZK_Interactive_Tutorial

image

Updating the circom circuits

  1. (From circuits) circom linear_dot.circom --r1cs --wasm --sym -o build
  2. (From circuits) snarkjs plonk setup build/simple_multiplier.r1cs ptau/powersOfTau28_hez_final_08.ptau build/proving_key.zkey
  3. (From project root:) snarkjs zkey export solidityverifier circuits/build/proving_key.zkey contracts/src/PlonkVerifier.sol

Sources:

About

License:MIT License


Languages

Language:TypeScript 61.4%Language:Solidity 20.6%Language:JavaScript 8.4%Language:CSS 7.6%Language:Circom 2.1%