Giveth / giveconomy-subgraph

GNU General Public License v3.0
23 stars 3 forks source link

GIVEconomy Subgraph

Subgraph for Giveth Economy contracts

Hosted node endpoints on production

Hosted node endpoints on staging

Subgraphs

This repository contains subgraphs for two chains: Ethereum and Gnosis with respective testnet (Goerli)

To prepare root (Ethereum) subgraphs

# install dependencies
yarn install

# Set authentication
yarn auth

Build

According to your configuration on networks.yaml

# build mainnet
yarn build:deployment-mainnet

# build deployment 7
yarn build:deployment-7

Deploy on Graph's hosted node

For mainnet

yarn deploy:mainnet:production

For goerli

yarn deploy:goerli:develop

For gnosis

yarn deploy:gnosis:production