From 9031b4f17badfa52aa164d54f13e502e71e97e11 Mon Sep 17 00:00:00 2001 From: Rashmi V Abbigeri <41290852+Rashmi-278@users.noreply.github.com> Date: Tue, 5 Sep 2023 01:10:24 +0530 Subject: [PATCH] Create README.md for Subgraph --- Implementations/Subgraph/daostar/README.md | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Implementations/Subgraph/daostar/README.md diff --git a/Implementations/Subgraph/daostar/README.md b/Implementations/Subgraph/daostar/README.md new file mode 100644 index 0000000..52089f4 --- /dev/null +++ b/Implementations/Subgraph/daostar/README.md @@ -0,0 +1,40 @@ +# DAOStar Subgraph Indexer +This is a hosted subgraph indexer to index all the registered DAO on our supported networks. + +## Supported networks +### Mainnet +https://api.thegraph.com/subgraphs/name/ipatka/daostar + +### Optimism +https://api.thegraph.com/subgraphs/name/crazyyuan/daostar-optimism + +### Goerli +https://api.thegraph.com/subgraphs/name/ipatka/daostar-goerli + +### Optimism Goerli +https://api.thegraph.com/subgraphs/name/rashmi-278/daostar-optimism-goerli + +### Arbitrum Goerli +https://api.thegraph.com/subgraphs/name/crazyyuan/daostar-arbitrum-goerli + +### BNB Bruno +https://api.thegraph.com/subgraphs/name/crazyyuan/daostar-bnb-bruno + +## Build and deploy instructions + +1. Initalize access +Get from your TheGraph Dashboard + +Deployment Access Auth Token: +graph auth --product hosted service + +2. Install node modules +```npm install ``` + +3. Refer to the scripts in package.json file and run necessary commands +Example: +Deploy to optimism-goerli: +Build: +```npm run build:optimism-goerli``` +Deploy: +```npm run deploy:optimism-goerli```