2021-06-07 13:43:31 +03:00
|
|
|
{
|
|
|
|
"name": "sub-graph-proxy",
|
|
|
|
"license": "UNLICENSED",
|
|
|
|
"scripts": {
|
2021-06-09 17:39:13 +03:00
|
|
|
"lint": "eslint .",
|
2021-06-14 15:33:59 +03:00
|
|
|
"generate-bsc": "yarn codegen:tornado-bsc && yarn build:tornado-bsc",
|
2021-08-17 06:30:46 +03:00
|
|
|
"generate-xdai": "yarn codegen:tornado-xdai && yarn build:tornado-xdai",
|
2021-06-14 15:33:59 +03:00
|
|
|
"generate-matic": "yarn codegen:tornado-matic && yarn build:tornado-matic",
|
2021-06-14 18:30:44 +03:00
|
|
|
"generate-mainnet": "yarn codegen:tornado-mainnet && yarn build:tornado-mainnet",
|
2021-06-21 13:14:18 +03:00
|
|
|
"generate-goerli": "yarn codegen:tornado-goerli && yarn build:tornado-goerli",
|
2021-09-14 18:28:22 +03:00
|
|
|
"generate-avalanche": "yarn codegen:tornado-avalanche && yarn build:tornado-avalanche",
|
2021-11-22 16:43:14 +03:00
|
|
|
"generate-arbitrum": "yarn codegen:tornado-arbitrum && yarn build:tornado-arbitrum",
|
2021-06-14 15:33:59 +03:00
|
|
|
"yaml:tornado-bsc": "node ./create-yaml-file create-yaml -e bsc | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-bsc.yaml",
|
2021-08-17 06:30:46 +03:00
|
|
|
"yaml:tornado-xdai": "node ./create-yaml-file create-yaml -e xdai | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-xdai.yaml",
|
2021-06-14 15:33:59 +03:00
|
|
|
"yaml:tornado-matic": "node ./create-yaml-file create-yaml -e matic | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-matic.yaml",
|
2021-06-14 18:30:44 +03:00
|
|
|
"yaml:tornado-mainnet": "node ./create-yaml-file create-yaml -e mainnet | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-mainnet.yaml",
|
2021-06-21 13:14:18 +03:00
|
|
|
"yaml:tornado-goerli": "node ./create-yaml-file create-yaml -e goerli | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-goerli.yaml",
|
2021-09-14 18:28:22 +03:00
|
|
|
"yaml:tornado-avalanche": "node ./create-yaml-file create-yaml -e avalanche | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-avalanche.yaml",
|
2021-11-22 16:43:14 +03:00
|
|
|
"yaml:tornado-arbitrum": "node ./create-yaml-file create-yaml -e arbitrum-one | mustache - mustache/yaml.mustache > subgraphs/tornado-subgraph-arbitrum.yaml",
|
2021-06-09 17:24:07 +03:00
|
|
|
"codegen": "graph codegen",
|
2021-06-14 15:33:59 +03:00
|
|
|
"codegen:tornado-bsc": "yarn yaml:tornado-bsc && yarn codegen -- subgraphs/tornado-subgraph-bsc.yaml",
|
2021-08-17 06:30:46 +03:00
|
|
|
"codegen:tornado-xdai": "yarn yaml:tornado-xdai && yarn codegen -- subgraphs/tornado-subgraph-xdai.yaml",
|
2021-06-14 15:33:59 +03:00
|
|
|
"codegen:tornado-matic": "yarn yaml:tornado-matic && yarn codegen -- subgraphs/tornado-subgraph-matic.yaml",
|
2021-06-14 18:30:44 +03:00
|
|
|
"codegen:tornado-mainnet": "yarn yaml:tornado-mainnet && yarn codegen -- subgraphs/tornado-subgraph-mainnet.yaml",
|
2021-06-21 13:14:18 +03:00
|
|
|
"codegen:tornado-goerli": "yarn yaml:tornado-goerli && yarn codegen -- subgraphs/tornado-subgraph-goerli.yaml",
|
2021-09-14 18:28:22 +03:00
|
|
|
"codegen:tornado-avalanche": "yarn yaml:tornado-avalanche && yarn codegen -- subgraphs/tornado-subgraph-avalanche.yaml",
|
2021-11-22 16:43:14 +03:00
|
|
|
"codegen:tornado-arbitrum": "yarn yaml:tornado-arbitrum && yarn codegen -- subgraphs/tornado-subgraph-arbitrum.yaml",
|
2021-06-09 17:24:07 +03:00
|
|
|
"build": "graph build",
|
2021-06-14 15:33:59 +03:00
|
|
|
"build:tornado-bsc": "graph build subgraphs/tornado-subgraph-bsc.yaml",
|
2021-08-17 06:30:46 +03:00
|
|
|
"build:tornado-xdai": "graph build subgraphs/tornado-subgraph-xdai.yaml",
|
2021-06-14 15:33:59 +03:00
|
|
|
"build:tornado-matic": "graph build subgraphs/tornado-subgraph-matic.yaml",
|
2021-06-14 18:30:44 +03:00
|
|
|
"build:tornado-mainnet": "graph build subgraphs/tornado-subgraph-mainnet.yaml",
|
2021-06-21 13:14:18 +03:00
|
|
|
"build:tornado-goerli": "graph build subgraphs/tornado-subgraph-goerli.yaml",
|
2021-09-14 18:28:22 +03:00
|
|
|
"build:tornado-avalanche": "graph build subgraphs/tornado-subgraph-avalanche.yaml",
|
2021-11-22 16:43:14 +03:00
|
|
|
"build:tornado-arbitrum": "graph build subgraphs/tornado-subgraph-arbitrum.yaml",
|
2021-06-21 13:14:18 +03:00
|
|
|
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ --access-token $TOKEN",
|
2021-06-14 15:33:59 +03:00
|
|
|
"deploy:tornado-bsc": "yarn deploy -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph-bsc.yaml",
|
2021-08-17 06:30:46 +03:00
|
|
|
"deploy:tornado-xdai": "yarn deploy -- tornadocash/xdai-tornado-subgraph subgraphs/tornado-subgraph-xdai.yaml",
|
2021-06-14 18:30:44 +03:00
|
|
|
"deploy:tornado-matic": "yarn deploy -- tornadocash/matic-tornado-subgraph subgraphs/tornado-subgraph-matic.yaml",
|
2021-06-21 13:14:18 +03:00
|
|
|
"deploy:tornado-mainnet": "yarn deploy -- tornadocash/mainnet-tornado-subgraph subgraphs/tornado-subgraph-mainnet.yaml",
|
2021-09-14 18:28:22 +03:00
|
|
|
"deploy:tornado-goerli": "yarn deploy -- tornadocash/goerli-tornado-subgraph subgraphs/tornado-subgraph-goerli.yaml",
|
2021-11-22 16:43:14 +03:00
|
|
|
"deploy:tornado-avalanche": "yarn deploy -- tornadocash/avalanche-tornado-subgraph subgraphs/tornado-subgraph-avalanche.yaml",
|
|
|
|
"deploy:tornado-arbitrum": "yarn deploy -- tornadocash/arbitrum-tornado-subgraph subgraphs/tornado-subgraph-arbitrum.yaml"
|
2021-06-07 13:43:31 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@graphprotocol/graph-cli": "0.20.0",
|
|
|
|
"@graphprotocol/graph-ts": "0.20.0"
|
2021-06-09 15:34:06 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-06-09 17:39:13 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.26.1",
|
|
|
|
"@typescript-eslint/parser": "^4.26.1",
|
2021-06-09 15:34:06 +03:00
|
|
|
"commander": "^7.2.0",
|
2021-06-09 17:39:13 +03:00
|
|
|
"eslint": "^7.28.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-import-resolver-typescript": "^2.4.0",
|
|
|
|
"eslint-plugin-import": "^2.23.4",
|
|
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
|
|
"mustache": "^4.2.0",
|
|
|
|
"prettier": "^2.3.1",
|
|
|
|
"typescript": "^4.3.2"
|
2021-06-07 13:43:31 +03:00
|
|
|
}
|
|
|
|
}
|