mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-10-01 01:06:17 -04:00
43 lines
2.0 KiB
JSON
43 lines
2.0 KiB
JSON
{
|
|
"name": "circuits",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"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",
|
|
"build:circuit:bin": "node node_modules/websnark/tools/buildpkey.js -i build/circuits/withdraw_proving_key.json -o build/circuits/withdraw_proving_key.bin",
|
|
"build:circuit:contract": "npx snarkjs generateverifier -v build/circuits/Verifier.sol --vk build/circuits/withdraw_verification_key.json",
|
|
"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",
|
|
"migrate": "npx truffle migrate --network kovan --reset",
|
|
"migrate:dev": "npx truffle migrate --network development --reset",
|
|
"browserify": "npx browserify cli.js -o index.js --exclude worker_threads",
|
|
"eslint": "npx eslint --ignore-path .gitignore ."
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"bn-chai": "^1.0.1",
|
|
"browserify": "^16.3.0",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"circom": "0.0.30",
|
|
"circomlib": "^0.0.10",
|
|
"dotenv": "^8.0.0",
|
|
"express": "^4.17.1",
|
|
"eslint": "^6.0.1",
|
|
"ganache-cli": "^6.4.5",
|
|
"snarkjs": "git+https://github.com/iden3/snarkjs.git#5fe2bd4642ec567c75ad5ac3f73687999c412e73",
|
|
"truffle": "^5.0.27",
|
|
"truffle-artifactor": "^4.0.23",
|
|
"truffle-contract": "^4.0.24",
|
|
"truffle-hdwallet-provider": "^1.0.14",
|
|
"web3": "^1.0.0-beta.55",
|
|
"web3-utils": "^1.0.0-beta.55",
|
|
"websnark": "git+https://github.com/poma/websnark.git#271c74a76f4d9277c049283c45929fb3a5bb46fc"
|
|
}
|
|
}
|