https://github.com/tea2x/zk-template
circom template to work with hardhat circom
https://github.com/tea2x/zk-template
Last synced: 5 months ago
JSON representation
circom template to work with hardhat circom
- Host: GitHub
- URL: https://github.com/tea2x/zk-template
- Owner: tea2x
- Created: 2023-09-29T08:11:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T07:23:27.000Z (over 2 years ago)
- Last Synced: 2024-03-29T05:41:21.300Z (about 2 years ago)
- Language: Solidity
- Size: 4.59 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zk-template
circom template to work with hardhat circom
A modification from https://github.com/gmchad/zardkat.git that works on js (the repo has some weird issues when adding new circuits so I mod it and fix the issues).
#### 1. adding new circuits to the development
npx hardhat newcircuit --name
#### 2. compiling the circuits
npx hardhat circom
#### 2. compiling the solidity verifier
npx hardhat compile
#### 3. test proof generation and solidity verifier
npx hardhat test