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