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 theDelegator
entity.- A
Protocol
entity is added with fieldspaused
,inflation
,inflationChange
,totalTokenSupply
,totalBondedToken
Getting Started
Install deps
yarn
Run Locally
yarn dev
Deployment instructions
Heroku
deployment instructions
- Set your production endpoint url in
next.config.js
- Connect Heroku to the github repo.
Now
deployment instructions
- Set your production endpoint url in
next.config.js
- Run
now
- Set an alias to your production endpoint. ie
now alias [generated_deployment_url] [production_endpoint]