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" ,
"test" : "npx truffle test" ,
2019-07-13 16:45:08 +02:00
"migrate" : "npx truffle migrate --network kovan --reset" ,
2019-07-15 20:33:37 +02:00
"migrate:dev" : "npx truffle migrate --network development --reset" ,
2019-07-16 22:49:45 +02:00
"browserify" : "npx browserify cli.js -o index.js --exclude worker_threads" ,
2019-08-01 10:41:22 +02:00
"eslint" : "npx eslint --ignore-path .gitignore ." ,
"flat" : "truffle-flattener contracts/Mixer.sol > Mixer_flat.sol"
2019-07-09 15:05:30 +02:00
} ,
"keywords" : [ ] ,
"author" : "" ,
"license" : "ISC" ,
"dependencies" : {
2019-07-12 11:53:44 +02:00
"bn-chai" : "^1.0.1" ,
2019-07-15 22:20:16 +02:00
"browserify" : "^16.3.0" ,
2019-07-12 11:53:44 +02:00
"chai" : "^4.2.0" ,
"chai-as-promised" : "^7.1.1" ,
2019-07-12 17:04:45 +02:00
"circom" : "0.0.30" ,
2019-07-12 18:58:02 +02:00
"circomlib" : "^0.0.10" ,
2019-07-12 17:04:45 +02:00
"dotenv" : "^8.0.0" ,
2019-07-16 17:58:42 +02:00
"eslint" : "^6.0.1" ,
2019-08-01 09:33:12 +02:00
"express" : "^4.17.1" ,
2019-07-12 11:53:44 +02:00
"ganache-cli" : "^6.4.5" ,
2019-08-01 09:33:12 +02:00
"snarkjs" : "git+https://github.com/iden3/snarkjs.git#c428706ef69930e378c31199ff8d66ee13fada85" ,
2019-07-12 18:58:02 +02:00
"truffle" : "^5.0.27" ,
"truffle-artifactor" : "^4.0.23" ,
2019-07-13 13:57:49 +02:00
"truffle-contract" : "^4.0.24" ,
2019-07-12 17:04:45 +02:00
"truffle-hdwallet-provider" : "^1.0.14" ,
2019-07-15 18:15:24 +02:00
"web3" : "^1.0.0-beta.55" ,
"web3-utils" : "^1.0.0-beta.55" ,
2019-07-15 19:21:58 +02:00
"websnark" : "git+https://github.com/poma/websnark.git#271c74a76f4d9277c049283c45929fb3a5bb46fc"
2019-08-01 10:41:22 +02:00
} ,
"devDependencies" : {
"truffle-flattener" : "^1.4.0"
2019-07-09 15:05:30 +02:00
}
}