Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 722 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 722 Bytes

SnarkJS Front End

This is a demo dApp to showcase how to generate ZK-SNARK proofs (groth16 algorithm) in the browser and verify the proof in the deployed verification smart contract.

Related repo to generate the circuits.

front-end-flow

Prerequisites

  • node installed
  • yarn installed

Getting Started

  • Fill in your WALLET_CONNECT_PROJECT_ID for walletConnect and your ALCHEMY_API_KEY in the ./constants.ts file.

  • Run the following commands in the root of this project.

yarn
yarn build
yarn dev

Note: Use at least node version 18.17.0.