The Graph

Repository

https://github.com/litentry/identity-subgraph
github.com

Overview

We use The Graph to build and host subgraphs to index data on EVM based networks. We currently have graphs for Ethereum and Binance Smart Chain.

Getting Started

1
git clone [email protected]:litentry/identity-subgraph.git
2
cd identity-subgraph
3
4
# at this point you chose which subgraph to work on
5
cd ethereum
6
yarn
7
yarn codegen
8
yarn build
Copied!
It is good for development and testing to deploy to the hosted service. Create you own graph on The Graph's hosted service and follow the steps for authentication. After that you can run this to deploy your local changes:
1
graph deploy --node https://api.thegraph.com/deploy/{YOUR_SUBGRAPH_ID}
Copied!

Docs

The Graph Docs
The Graph Docs