Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tasitlabs/contract-based-account-tracker
- Owner: tasitlabs
- Created: 2019-05-11T22:04:51.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-23T01:52:26.000Z (7 months ago)
- Last Synced: 2024-05-01T11:22:07.046Z (7 months ago)
- Topics: apollo-client, contract-based-account, dapp, gnosis, gnosis-safe, graphql, react, reactjs, safe
- Language: JavaScript
- Homepage: https://contractbasedaccounts.com
- Size: 1.39 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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
```