Skip to content

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

Notifications You must be signed in to change notification settings

luniehq/livepeer-graphql-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.5%
  • JavaScript 1.5%