Skip to content

Badger-Finance/badger-subgraph

Repository files navigation

TheGraph Splash Image

Badger Subgraph

The Badger Subgraph repository is a GraphQL based project focused on parsing on chain events into queryable data to enable off chain analysis. This project is built on top of TheGraph - a decentralized protocol for indexing and querying data from blockchains.

The subgraphs focus on various aspects of the BadgerDAO protocol. Each subgrpah will have a local README detailing the specific data aggregated. The subgraph project is controlled by a base package defining the shared libraries for stanard use across graphs. Each subgraph is delegated to the subgraphs workspace - this inherits all base packages from the parent package.

Available Subgraphs

NOTE: find the decentralised subgraphs in the readme in their own branch here: tree/decentralized

Deploying a Subgraph

Badger subgraphs are written with the intention or serving cross chain implementations. Thus, deployment of subgraphs comprises of three steps to allow for this flexibility in cross chain deployments.