/livepeer-graphql-api

A self-hosted API that combines the Livepeer Subgraph with fields not yet available on it from the Livepeer SDK

Primary LanguageTypeScript

A Livepeer API that adds some useful fields to the Livepeer Subgraph which are not yet being indexed. The following fields are provided:

  • pendingStake, tokenBalance, ethBalance are added to the Delegator entity.
  • A Protocol entity is added with fields paused, inflation, inflationChange, totalTokenSupply, totalBondedToken

Getting Started

Install deps

yarn

Run Locally

yarn dev

Deployment instructions

Heroku deployment instructions

  1. Set your production endpoint url in next.config.js
  2. Connect Heroku to the github repo.

Now deployment instructions

  1. Set your production endpoint url in next.config.js
  2. Run now
  3. Set an alias to your production endpoint. ie now alias [generated_deployment_url] [production_endpoint]