Skip to content

Visualisations using Infura's Beta of the Ethereum 2.0 Beacon Chain API

License

Notifications You must be signed in to change notification settings

ltfschoen/beacon

Repository files navigation

Beacon

Objective: Beacon chain visualisation

Screenshot: Screenshot

Develop Environment

Clone the repository, install Yarn and Node.js, and then run the following in terminal:

yarn &&
yarn run dev

Deploy to Heroku

  • Start
heroku login
heroku apps:create <NAME>
git push -f heroku master
heroku local web
heroku ps:scale web=1:free
heroku ps
heroku open
heroku logs --tail
heroku restart
  • Set Environment Variables

Use the environment variables from the .env file

heroku config:set KEY1=VALUE1 KEY2=VALUE2
  • Stop
heroku ps:stop web
  • Scale up dynos
heroku ps:scale web=2:standard-2x
  • Scale down dynos
heroku ps:scale web=1:free

Troubleshooting

  • If you get an unknown type error, then it may be necessary to update polkadot-js/api dependency in package.json, since it is constantly evolving.

  • To kill a frozen process

ps -ef | grep node
kill -9 <PROCESS_ID>

References:

About

Visualisations using Infura's Beta of the Ethereum 2.0 Beacon Chain API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published