Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tasitlabs/contract-based-account-tracker

A dapp that uses Apollo, GraphQL, and Gnosis Safe and Argent subgraphs to track new contract-based accounts on Ethereum
https://github.com/tasitlabs/contract-based-account-tracker

apollo-client contract-based-account dapp gnosis gnosis-safe graphql react reactjs safe

Last synced: 4 days ago
JSON representation

A dapp that uses Apollo, GraphQL, and Gnosis Safe and Argent subgraphs to track new contract-based accounts on Ethereum

Awesome Lists containing this project

README

        

## Getting started

#### Start the app

```sh
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 /` 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:
```sh
echo "REACT_APP_GRAPHQL_ENDPOINT_GNOSIS_SAFE=https://api.thegraph.com/subgraphs/name/tasitlabs/gnosis-safe" > .env
```