npm i
npm start- Sign up on https://thegraph.com/explorer/
- Create a new subgraph on https://thegraph.com/dashboard/
- Install Graph CLI with
npm install -g @graphprotocol/graph-cli - Run
graph init <GITHUB_USERNAME>/<SUBGRAPH_NAME>to create a subgraph template locally. - Follow the instructions
graph initprints for you to deploy the subgraph to the Hosted Service.
- Go to
https://thegraph.com/explorer/subgraph/tasitlabs/gnosis-safe/ - Copy the GraphQL HTTP endpoint (
hhttps://api.thegraph.com/subgraphs/name/tasitlabs/gnosis-safe) - Write it to
.envin this directory:echo "REACT_APP_GRAPHQL_ENDPOINT_GNOSIS_SAFE=https://api.thegraph.com/subgraphs/name/tasitlabs/gnosis-safe" > .env