This is an Eth2.0 fork choice visualizer that plots data from a Lighthouse beacon node's /lighthouse/proto_array
HTTP endpoint.
A live demo is available at eth2.ninja.
To deploy this server locally to serve at http://localhost:
- Fill in the following fields in
config.yml
:eth2_api
: Lighthouse beacon node's HTTP endpoint- [Optional]
page_title
: Page title for the webpage - [Optional]
graffiti
: Small graffiti string to be included at the bottom left of the webpage - [Optional]
uwsgi
: Custom deployment options to pass to theuwsgi
webserver
- Build the Docker images using:
docker-compose build
- Deploy the websever using:
docker-compose up
The various colors in the graph can be interpreted using the following guide:
Tree Link Color (Canonical Chain):
- Green Link: Canonical chain
- Gray Link: Non-canonical chain
Border Stroke Color (Fin./Just. Chain):
- Blue Border: Finalized chain
- Pink Border: Best Justified chain
Node Fill Color (Supporting Stake):
The fill color is a gradient with the two extreme ends being:
- Green Fill: High percentage of stake in support of block
- Red Fill: Low percentage of stake in support of block