Local deployment
This commit is contained in:
parent
45e72375b4
commit
44d848ebb1
@ -6,12 +6,18 @@
|
|||||||
"build": "graph build",
|
"build": "graph build",
|
||||||
"generate:l1": "yarn codegen subgraph/l1.yaml && yarn build subgraph/l1.yaml",
|
"generate:l1": "yarn codegen subgraph/l1.yaml && yarn build subgraph/l1.yaml",
|
||||||
"generate:l2": "yarn codegen subgraph/l2.yaml && yarn build subgraph/l2.yaml",
|
"generate:l2": "yarn codegen subgraph/l2.yaml && yarn build subgraph/l2.yaml",
|
||||||
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ --access-token $TOKEN",
|
"create": "graph create --node http://127.0.0.1:8020",
|
||||||
|
"create:l1": "yarn run create tornadocash/mainnet-tornado-pool-subgraph subgraph/l1.yaml",
|
||||||
|
"create:l2": "yarn run create tornadocash/gnosis-tornado-nova-subgraph subgraph/l2.yaml",
|
||||||
|
"deploy": "graph deploy --node http://127.0.0.1:8020 --ipfs http://127.0.0.1:5001",
|
||||||
"deploy:l1": "yarn deploy tornadocash/mainnet-tornado-pool-subgraph subgraph/l1.yaml",
|
"deploy:l1": "yarn deploy tornadocash/mainnet-tornado-pool-subgraph subgraph/l1.yaml",
|
||||||
"deploy:l2": "yarn deploy tornadocash/gnosis-tornado-nova-subgraph subgraph/l2.yaml"
|
"deploy:l2": "yarn deploy tornadocash/gnosis-tornado-nova-subgraph subgraph/l2.yaml"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@graphprotocol/graph-cli": "0.27.0",
|
"@graphprotocol/graph-cli": "0.27.0",
|
||||||
"@graphprotocol/graph-ts": "0.24.1"
|
"@graphprotocol/graph-ts": "0.24.1"
|
||||||
|
},
|
||||||
|
"resolutions": {
|
||||||
|
"concat-stream": "2.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
23
yarn.lock
23
yarn.lock
@ -893,22 +893,15 @@ concat-map@0.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
||||||
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
||||||
|
|
||||||
concat-stream@^1.6.0, concat-stream@^1.6.2, concat-stream@~1.6.2:
|
concat-stream@2.0.0, concat-stream@^1.6.0, concat-stream@^1.6.2, "concat-stream@github:hugomrdias/concat-stream#feat/smaller", concat-stream@~1.6.2:
|
||||||
version "1.6.2"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34"
|
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1"
|
||||||
integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==
|
integrity sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==
|
||||||
dependencies:
|
dependencies:
|
||||||
buffer-from "^1.0.0"
|
buffer-from "^1.0.0"
|
||||||
inherits "^2.0.3"
|
|
||||||
readable-stream "^2.2.2"
|
|
||||||
typedarray "^0.0.6"
|
|
||||||
|
|
||||||
"concat-stream@github:hugomrdias/concat-stream#feat/smaller":
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://codeload.github.com/hugomrdias/concat-stream/tar.gz/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034"
|
|
||||||
dependencies:
|
|
||||||
inherits "^2.0.3"
|
inherits "^2.0.3"
|
||||||
readable-stream "^3.0.2"
|
readable-stream "^3.0.2"
|
||||||
|
typedarray "^0.0.6"
|
||||||
|
|
||||||
core-util-is@1.0.2:
|
core-util-is@1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
@ -1390,9 +1383,9 @@ glob@^7.1.3:
|
|||||||
once "^1.3.0"
|
once "^1.3.0"
|
||||||
path-is-absolute "^1.0.0"
|
path-is-absolute "^1.0.0"
|
||||||
|
|
||||||
"gluegun@git+https://github.com/edgeandnode/gluegun.git#v4.3.1-pin-colors-dep":
|
"gluegun@https://github.com/edgeandnode/gluegun#v4.3.1-pin-colors-dep":
|
||||||
version "4.3.1"
|
version "4.3.1"
|
||||||
resolved "git+https://github.com/edgeandnode/gluegun.git#b34b9003d7bf556836da41b57ef36eb21570620a"
|
resolved "https://github.com/edgeandnode/gluegun#b34b9003d7bf556836da41b57ef36eb21570620a"
|
||||||
dependencies:
|
dependencies:
|
||||||
apisauce "^1.0.1"
|
apisauce "^1.0.1"
|
||||||
app-module-path "^2.2.0"
|
app-module-path "^2.2.0"
|
||||||
@ -2741,7 +2734,7 @@ randombytes@^2.1.0:
|
|||||||
string_decoder "^1.1.1"
|
string_decoder "^1.1.1"
|
||||||
util-deprecate "^1.0.1"
|
util-deprecate "^1.0.1"
|
||||||
|
|
||||||
readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.5:
|
readable-stream@^2.3.0, readable-stream@^2.3.5:
|
||||||
version "2.3.7"
|
version "2.3.7"
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
|
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
|
||||||
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
|
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
|
||||||
|
Loading…
Reference in New Issue
Block a user