Run the following command on your local environment:
git clone https://github.com/heypran/zk-reg.git
cd zk-reg/ui
yarn install
Then, you can run locally in development mode with live reload:
yarn dev
Open http://localhost:3000 in the browser.
Create a file private.json
( refer private.example.json
) inside backend
folder and add your private key.
cd zk-reg/backend
yarn install
yarn compile
- Using groth16
yarn compile:circuits
Please do not use this to compile circuits for production. Proper ceremony is required.
yarn test
Select network - chain.ts
contains network configuration. Network selected for deployment is mentioned in hardhat.config.ts
file. Default is "polygon".
Run below command to deploy
yarn deploy:agecheck --network testnet