https://github.com/giveth/giveconomy-subgraph
https://github.com/giveth/giveconomy-subgraph
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/giveth/giveconomy-subgraph
- Owner: Giveth
- License: gpl-3.0
- Created: 2022-06-01T13:24:08.000Z (about 4 years ago)
- Default Branch: develop
- Last Pushed: 2024-08-15T10:13:37.000Z (almost 2 years ago)
- Last Synced: 2025-03-23T17:22:40.152Z (over 1 year ago)
- Language: TypeScript
- Size: 1.62 MB
- Stars: 23
- Watchers: 12
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GIVEconomy Subgraph
Subgraph for Giveth Economy contracts
## Hosted node endpoints on production
- Mainnet: `https://thegraph.com/hosted-service/subgraph/giveth/giveth-economy-second-mainnet`
- Gnosis: `https://thegraph.com/hosted-service/subgraph/giveth/giveth-economy-second-xdai`
## Hosted node endpoints on staging
- Goerli: `https://thegraph.com/hosted-service/subgraph/giveth/giveth-economy-goerli-staging`
- Gnosis: `https://thegraph.com/hosted-service/subgraph/giveth/giveth-economy-xdai-staging`
## Subgraphs
This repository contains subgraphs for two chains: Ethereum and Gnosis with respective testnet (Goerli)
**To prepare root (Ethereum) subgraphs**
```bash
# install dependencies
yarn install
# Set authentication
yarn auth
```
### Build
According to your configuration on networks.yaml
```bash
# build mainnet
yarn build:deployment-mainnet
# build deployment 7
yarn build:deployment-7
```
### Deploy on Graph's hosted node
**For mainnet**
```bash
yarn deploy:mainnet:production
```
**For goerli**
```bash
yarn deploy:goerli:develop
```
**For gnosis**
```bash
yarn deploy:gnosis:production
```