diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..a459674 --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +# access token +# 23457f58696f04444d2376ed2cfs441xc diff --git a/.gitignore b/.gitignore index 5c98cea..6d810a0 100644 --- a/.gitignore +++ b/.gitignore @@ -63,6 +63,7 @@ typings/ build .vscode .idea +.env generated .DS_Store diff --git a/package.json b/package.json index 3e9c9be..c2a461e 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "codegen:tornado": "yarn yaml:tornado && yarn codegen -- subgraphs/tornado-subgraph.yaml", "build": "graph build", "build:tornado": "graph build subgraphs/tornado-subgraph.yaml", - "deploy": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ tornadocash/bsc-tornado-subgraph", + "deploy": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ $(echo $(cat .env))", "deploy:tornado": "yarn deploy -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph.yaml" }, "dependencies": {