2019-07-09 09:05:30 -04:00
|
|
|
{
|
|
|
|
"name": "circuits",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2019-07-12 06:55:23 -04:00
|
|
|
"build:circuit:compile": "circom circuits/withdraw.circom -o build/circuits/withdraw.json && snarkjs info -c build/circuits/withdraw.json",
|
|
|
|
"build:circuit:setup": "snarkjs setup --protocol groth -c build/circuits/withdraw.json --pk build/circuits/withdraw_proving_key.json --vk build/circuits/withdraw_verification_key.json",
|
2019-07-12 11:04:45 -04:00
|
|
|
"build:circuit:contract": "snarkjs generateverifier -v build/circuits/Verifier.sol --vk build/circuits/withdraw_verification_key.json",
|
2019-07-12 06:55:23 -04:00
|
|
|
"build:circuit": "mkdir -p build/circuits && npm run build:circuit:compile && npm run build:circuit:setup && npm run build:circuit:contract",
|
|
|
|
"build:contract": "truffle compile",
|
2019-07-09 09:05:30 -04:00
|
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"dependencies": {
|
2019-07-12 05:53:44 -04:00
|
|
|
"bn-chai": "^1.0.1",
|
|
|
|
"chai": "^4.2.0",
|
|
|
|
"chai-as-promised": "^7.1.1",
|
2019-07-12 11:04:45 -04:00
|
|
|
"circom": "0.0.30",
|
2019-07-12 05:53:44 -04:00
|
|
|
"circomlib": "git+https://github.com/kobigurk/circomlib.git#323966c0584bafebf9652681c44d9ea348fe9bb5",
|
2019-07-12 11:04:45 -04:00
|
|
|
"dotenv": "^8.0.0",
|
2019-07-12 05:53:44 -04:00
|
|
|
"ganache-cli": "^6.4.5",
|
2019-07-12 11:04:45 -04:00
|
|
|
"snarkjs": "^0.1.14",
|
2019-07-12 05:53:44 -04:00
|
|
|
"truffle": "^5.0.20",
|
|
|
|
"truffle-artifactor": "^4.0.22",
|
2019-07-12 11:04:45 -04:00
|
|
|
"truffle-hdwallet-provider": "^1.0.14",
|
|
|
|
"web3-utils": "^1.0.0-beta.55",
|
|
|
|
"websnark": "0.0.4"
|
2019-07-09 09:05:30 -04:00
|
|
|
}
|
|
|
|
}
|