-
Mainnet: https://thegraph.com/hosted-service/subgraph/projectgalaxyhq/gal-mainnet
-
BNB Chain: https://thegraph.com/hosted-service/subgraph/projectgalaxyhq/gal-bsc
For any of the subgraphs follow below steps
- Run the
yarn run prepare:[network]
to prepare yaml file from template.yaml and network specific data. - Run the
yarn run codegen
command to prepare the TypeScript sources for the GraphQL (generated/schema) and the ABIs (generated/[ABI]/*). - [Optional] run the
yarn run build
command to build the subgraph. Can be used to check compile errors before deploying. - Run
graph auth https://api.thegraph.com/deploy/ <ACCESS_TOKEN>
. - Deploy via
yarn run deploy:[network]
.