2019-07-09 15:05:30 +02:00
{
"name" : "circuits" ,
"version" : "1.0.0" ,
"description" : "" ,
"main" : "index.js" ,
"scripts" : {
2019-07-12 23:56:17 +02:00
"build:circuit:compile" : "npx circom circuits/withdraw.circom -o build/circuits/withdraw.json && npx snarkjs info -c build/circuits/withdraw.json" ,
"build:circuit:setup" : "npx 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 18:58:02 +02:00
"build:circuit:bin" : "node node_modules/websnark/tools/buildpkey.js -i build/circuits/withdraw_proving_key.json -o build/circuits/withdraw_proving_key.bin" ,
2019-07-12 23:56:17 +02:00
"build:circuit:contract" : "npx snarkjs generateverifier -v build/circuits/Verifier.sol --vk build/circuits/withdraw_verification_key.json" ,
2019-07-12 18:58:02 +02:00
"build:circuit" : "mkdir -p build/circuits && npm run build:circuit:compile && npm run build:circuit:setup && npm run build:circuit:bin && npm run build:circuit:contract" ,
"build:contract" : "npx truffle compile" ,
2019-09-17 15:31:48 +02:00
"build:browserify" : "npx browserify cli.js -o index.js --exclude worker_threads" ,
2019-10-04 15:01:42 +02:00
"build" : "npm run build:circuit && npm run build:contract && npm run build:browserify" ,
2019-09-17 15:31:48 +02:00
"browserify" : "npm run build:browserify" ,
2019-07-12 18:58:02 +02:00
"test" : "npx truffle test" ,
2019-09-17 15:31:48 +02:00
"migrate" : "npm run migrate:kovan" ,
2019-07-15 20:33:37 +02:00
"migrate:dev" : "npx truffle migrate --network development --reset" ,
2019-09-17 15:31:48 +02:00
"migrate:kovan" : "npx truffle migrate --network kovan --reset" ,
2019-10-25 13:13:29 +02:00
"migrate:rinkeby" : "npx truffle migrate --network rinkeby --reset" ,
2019-09-17 15:31:48 +02:00
"migrate:mainnet" : "npx truffle migrate --network mainnet" ,
2019-08-01 10:41:22 +02:00
"eslint" : "npx eslint --ignore-path .gitignore ." ,
2019-12-13 14:49:19 +01:00
"flat" : "npx truffle-flattener contracts/ETHTornado.sol > ETHTornado_flat.sol && npx truffle-flattener contracts/ERC20Tornado.sol > ERC20Tornado_flat.sol"
2019-07-09 15:05:30 +02:00
} ,
"keywords" : [ ] ,
"author" : "" ,
"license" : "ISC" ,
"dependencies" : {
2019-11-08 01:28:29 +01:00
"@openzeppelin/contracts" : "^2.4.0" ,
"@truffle/artifactor" : "^4.0.38" ,
"@truffle/contract" : "^4.0.39" ,
"@truffle/hdwallet-provider" : "^1.0.24" ,
2019-11-10 01:48:09 +01:00
"axios" : "^0.19.0" ,
2019-07-12 11:53:44 +02:00
"bn-chai" : "^1.0.1" ,
2019-11-08 01:28:29 +01:00
"browserify" : "^16.5.0" ,
2019-07-12 11:53:44 +02:00
"chai" : "^4.2.0" ,
"chai-as-promised" : "^7.1.1" ,
2019-09-27 16:20:50 +02:00
"circom" : "0.0.34" ,
2019-11-08 01:28:29 +01:00
"circomlib" : "^0.0.19" ,
"dotenv" : "^8.2.0" ,
"eslint" : "^6.6.0" ,
"ganache-cli" : "^6.7.0" ,
2019-11-04 20:42:41 +01:00
"snarkjs" : "git+https://github.com/peppersec/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5" ,
2019-11-08 01:28:29 +01:00
"truffle" : "^5.0.44" ,
"truffle-flattener" : "^1.4.2" ,
"web3" : "^1.2.2" ,
"web3-utils" : "^1.2.2" ,
2019-11-04 20:42:41 +01:00
"websnark" : "git+https://github.com/peppersec/websnark.git#c254b5962287b788081be1047fa0041c2885b39f"
2019-07-09 15:05:30 +02:00
}
}