tornado-core/package.json

53 lines
2.4 KiB
JSON
Raw Normal View History

2019-07-09 16:05:30 +03:00
{
"name": "circuits",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
2019-07-13 00:56:17 +03: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 19:58:02 +03: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-13 00:56:17 +03:00
"build:circuit:contract": "npx snarkjs generateverifier -v build/circuits/Verifier.sol --vk build/circuits/withdraw_verification_key.json",
2019-07-12 19:58:02 +03: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 17:45:08 +03:00
"migrate": "npx truffle migrate --network kovan --reset",
2019-08-04 20:57:01 +03:00
"migrate:mainnet": "npx truffle migrate --network mainnet",
2019-07-15 21:33:37 +03:00
"migrate:dev": "npx truffle migrate --network development --reset",
2019-07-16 23:49:45 +03:00
"browserify": "npx browserify cli.js -o index.js --exclude worker_threads",
2019-08-01 01:41:22 -07:00
"eslint": "npx eslint --ignore-path .gitignore .",
2019-08-27 23:42:24 +03:00
"flat": "truffle-flattener contracts/ETHMixer.sol > ETHMixer_flat.sol contracts/ERC20Mixer.sol > ERC20Mixer_flat.sol"
2019-07-09 16:05:30 +03:00
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
2019-08-20 23:39:21 +03:00
"@openzeppelin/contracts": "^2.3.0",
2019-07-12 12:53:44 +03:00
"bn-chai": "^1.0.1",
2019-07-15 13:20:16 -07:00
"browserify": "^16.3.0",
2019-07-12 12:53:44 +03:00
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
2019-07-12 18:04:45 +03:00
"circom": "0.0.30",
2019-07-12 19:58:02 +03:00
"circomlib": "^0.0.10",
2019-07-12 18:04:45 +03:00
"dotenv": "^8.0.0",
2019-08-28 11:15:49 +03:00
"eslint": "^6.2.2",
2019-07-12 12:53:44 +03:00
"ganache-cli": "^6.4.5",
2019-08-02 12:23:39 +03:00
"snarkjs": "^0.1.16",
2019-09-26 13:23:35 +03:00
"truffle": "^5.0.37",
"truffle-artifactor": "^4.0.30",
"truffle-contract": "^4.0.31",
2019-07-12 18:04:45 +03:00
"truffle-hdwallet-provider": "^1.0.14",
2019-07-15 19:15:24 +03:00
"web3": "^1.0.0-beta.55",
"web3-utils": "^1.0.0-beta.55",
2019-08-01 12:35:44 +03:00
"websnark": "git+https://github.com/peppersec/websnark.git#ed6a4d8a6fb081a62af26820980046bbb602d559"
2019-08-01 01:41:22 -07:00
},
"devDependencies": {
2019-09-23 21:45:20 +03:00
"@openzeppelin/contracts-ethereum-package": "^2.2.3",
"@openzeppelin/gsn-helpers": "^0.2.0",
2019-09-25 21:29:41 +03:00
"@openzeppelin/gsn-provider": "^0.1.8",
2019-09-23 21:45:20 +03:00
"@openzeppelin/network": "^0.2.9",
"@openzeppelin/upgrades": "^2.5.3",
2019-08-01 01:41:22 -07:00
"truffle-flattener": "^1.4.0"
2019-07-09 16:05:30 +03:00
}
}