okjintao / badger-dao

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Badger API Subgraph

License Build

This subgraph focuses on tracking sett vault tokens transfers for users of the Badger Protocol. This supgraph powers the Badger API.

Initial Setup

Generate graphql entities and contracts:

yarn prepare:mainnet
yarn codegen

Deploying a Subgraph

Prepare deployment:

yarn prepare:<network>

Deploy

yarn deploy:<network>

Network Options

  • mainnet
  • mainnet-staging
  • bsc
  • matic
  • xdai

About

License:MIT License


Languages

Language:TypeScript 89.9%Language:JavaScript 10.1%