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.
nodeinstalledyarninstalled
-
Fill in your
WALLET_CONNECT_PROJECT_IDfor walletConnect and yourALCHEMY_API_KEYin the./constants.tsfile. -
Run the following commands in the root of this project.
yarn
yarn build
yarn dev- Open URL logged in console (typically http://127.0.0.1:3000).
Note: Use at least node version 18.17.0.
