-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
26 lines (26 loc) · 1.21 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
{
"name": "create-circom-project",
"version": "0.1.0",
"description": "A circom started project for simpler use and zero-knowledge project development with simple commands",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"inspect": "circomspect ./circuits/circuit.circom",
"build": "circomspect ./circuits/circuit.circom && mkdir ./circuits/build && circom ./circuits/circuit.circom --r1cs --wasm -o ./circuits/build",
"setup": "mkdir ./circuits/build/keys && npx snarkjs groth16 setup ./circuits/build/circuit.r1cs powersOfTau28_hez_final_12.ptau ./circuits/build/keys/circuit_0000.zkey && npx snarkjs zkey export verificationkey ./circuits/build/keys/circuit_0000.zkey ./circuits/build/keys/verification_key.json",
"verify": "node ./scripts/main.js",
"generate-verifier": "npx snarkjs zkey export solidityverifier ./circuits/build/keys/circuit_0000.zkey ./contracts/Verifier.sol",
"clean": "rm -rf ./circuits/build"
},
"author": "Advaita Saha",
"license": "MIT",
"dependencies": {
"app-root-path": "^3.1.0",
"circomlib": "^2.0.5",
"circomlibjs": "^0.1.7",
"snarkjs": "^0.6.10"
},
"devDependencies": {
"hardhat": "^2.13.0"
}
}