From d3a2a4696315039f94c62b32b74fdd736f826b8d Mon Sep 17 00:00:00 2001 From: mmartinmo <41465214+mmartinmo@users.noreply.github.com> Date: Mon, 3 Oct 2022 18:18:41 +0900 Subject: [PATCH] subgraph for production (#10) --- networks.json | 8 +++++++- package.json | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/networks.json b/networks.json index bfc9a25..3fcd41e 100644 --- a/networks.json +++ b/networks.json @@ -10,5 +10,11 @@ "address": "0xdFC209D462Fc1d92C2e6ba64A2BAcc806d75D649", "startBlock": 27786023 } - } + }, + "matic": { + "TalkoFactory": { + "address": "0x4E7D69f60a233e25ddDC6879fD315bf44c7444B9", + "startBlock": 33757444 + } +} } \ No newline at end of file diff --git a/package.json b/package.json index 7b1f8cd..123f56a 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,11 @@ "build-dev": "graph build --network goerli", "build-test": "graph build --network mumbai", + "build-prod": "graph build --network matic", "deploy-dev": "graph deploy --network goerli --node https://api.thegraph.com/deploy/ atarca/nft-share-platform-goerli", "deploy-test": "graph deploy --network mumbai --node https://api.thegraph.com/deploy/ atarca/nft-share-platform-mumbai", + "deploy-prod": "graph deploy --network matic --node https://api.thegraph.com/deploy/ atarca/talko", "create-local": "graph create --node http://localhost:8020/ atarca/nft-share-platform-goerli", "remove-local": "graph remove --node http://localhost:8020/ atarca/nft-share-platform-goerli",