tornado-core/package.json

62 lines
3.1 KiB
JSON
Raw Normal View History

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",
2021-02-11 07:23:18 +01:00
"eslint": "eslint --ext .js --ignore-path .gitignore .",
"prettier:check": "prettier --check . --config .prettierrc",
"prettier:fix": "prettier --write . --config .prettierrc",
"lint": "yarn eslint && yarn prettier:check",
2020-02-27 14:32:10 +01:00
"flat": "npx truffle-flattener contracts/ETHTornado.sol > ETHTornado_flat.sol && npx truffle-flattener contracts/ERC20Tornado.sol > ERC20Tornado_flat.sol",
"download": "node downloadKeys.js"
2019-07-09 15:05:30 +02:00
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
2021-03-11 21:05:59 +01:00
"@openzeppelin/contracts": "^3.4.1",
2019-11-08 01:28:29 +01:00
"@truffle/contract": "^4.0.39",
"@truffle/hdwallet-provider": "^1.0.24",
2019-11-10 01:48:09 +01:00
"axios": "^0.19.0",
2021-02-11 07:23:18 +01:00
"babel-eslint": "^10.1.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",
2020-04-06 12:11:42 +02:00
"circom": "^0.0.35",
"circomlib": "git+https://github.com/tornadocash/circomlib.git#c372f14d324d57339c88451834bf2824e73bbdbc",
2020-02-26 14:57:53 +01:00
"commander": "^4.1.1",
2019-11-08 01:28:29 +01:00
"dotenv": "^8.2.0",
2021-02-11 07:23:18 +01:00
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
2020-07-31 18:54:24 +02:00
"eth-json-rpc-filters": "^4.1.1",
2019-11-08 01:28:29 +01:00
"ganache-cli": "^6.7.0",
2021-02-11 07:23:18 +01:00
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.3",
2020-04-06 12:20:58 +02:00
"snarkjs": "git+https://github.com/tornadocash/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5",
2021-02-11 07:23:18 +01:00
"solhint-plugin-prettier": "^0.0.5",
2021-03-10 17:37:17 +01:00
"truffle": "^5.1.67",
2019-11-08 01:28:29 +01:00
"truffle-flattener": "^1.4.2",
2021-02-11 08:00:53 +01:00
"web3": "^1.3.4",
"web3-utils": "^1.3.4",
"websnark": "git+https://github.com/tornadocash/websnark.git#4c0af6a8b65aabea3c09f377f63c44e7a58afa6d"
2019-07-09 15:05:30 +02:00
}
}