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.
node
installedyarn
installed
-
Fill in your
WALLET_CONNECT_PROJECT_ID
for walletConnect and yourALCHEMY_API_KEY
in the./constants.ts
file. -
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
.