-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "zk-vote-aggregator",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.1",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.3",
"@nomicfoundation/hardhat-network-helpers": "^1.0.6",
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@nomiclabs/hardhat-ethers": "^2.1.1",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.3",
"chai": "^4.3.6",
"circomlib": "^2.0.3",
"circomlibjs": "^0.1.2",
"dotenv": "^16.0.2",
"ethers": "^5.7.1",
"hardhat": "^2.9.1",
"hardhat-circom": "^3.3.0",
"hardhat-gas-reporter": "^1.0.9",
"solidity-coverage": "^0.8.2",
"typechain": "^8.1.0"
},
"engines": {
"node": ">=16"
},
"scripts": {
"circom:dev": "hardhat circom --deterministic --debug --verbose",
"dev:verify-proof": "snarkjs groth16 verify ./artifacts/circom/init.vkey.json ./artifacts/circom/init.public.json ./artifacts/circom/init.proof.json",
"circom:prod": "hardhat circom --verbose",
"test": "hardhat test",
"witness-calc": "snarkjs wtns calculate ./circuits/init.wasm ./circuits/init.json ./circuits/init.wtns",
"create-proof": "snarkjs groth16 prove ./circuits/init.zkey ./circuits/init.wtns ./circuits/init.proof.json ./circuits/init.public.json",
"verify-proof": "snarkjs groth16 verify ./circuits/init.vkey.json ./circuits/init.public.json ./circuits/init.proof.json",
"generate-call": "snarkjs zkey export soliditycalldata ./circuits/init.public.json ./circuits/init.proof.json"
}
}