Skip to content

Latest commit

 

History

History
executable file
·
27 lines (20 loc) · 899 Bytes

README.md

File metadata and controls

executable file
·
27 lines (20 loc) · 899 Bytes

Getting started

Start the app

npm i
npm start

Already done - no action required

Create and deploy the subgraph

  1. Sign up on https://thegraph.com/explorer/
  2. Create a new subgraph on https://thegraph.com/dashboard/
  3. Install Graph CLI with npm install -g @graphprotocol/graph-cli
  4. Run graph init <GITHUB_USERNAME>/<SUBGRAPH_NAME> to create a subgraph template locally.
  5. Follow the instructions graph init prints for you to deploy the subgraph to the Hosted Service.

Connect this dapp to the subgraph

  1. Go to https://thegraph.com/explorer/subgraph/tasitlabs/gnosis-safe/
  2. Copy the GraphQL HTTP endpoint (hhttps://api.thegraph.com/subgraphs/name/tasitlabs/gnosis-safe)
  3. Write it to .env in this directory:
    echo "REACT_APP_GRAPHQL_ENDPOINT_GNOSIS_SAFE=https://api.thegraph.com/subgraphs/name/tasitlabs/gnosis-safe" > .env