Open source golang based explorer for the eth2 beacon chain
The explorer provides a comprehensive and easy to use interface for the upcoming Eth2 beacon chain. It makes it easy to view proposed blocks, follow attestations and monitor your staking activity.
The explorer is built using golang and utilizes a PostgreSQL database for storing and indexing data. In order to avoid the situation we currently have with the Eth1 chain where closed source block explorers dominate the market we decided to make our explorer open source and available for everybody.
Prysm beaconcha.in
Lighthouse lighthouse.beaconcha.in
Warning: The explorer is still under heavy active development. More or less everything might change without prior notice and we cannot guarantee any backwards compatibility for now. Once the eth2 ecosystem matures we will be able to provide stronger guarantees about the updatability of the explorer.
We currently do not provide any pre-built binaries of the explorer. Docker images are available at https://hub.docker.com/repository/docker/gobitfly/eth2-beaconchain-explorer.
--archiveflag set
tables.sqlfile from the root of this repository
make allto build the indexer and front-end binaries
npm run --prefix ./bootstrap dist-cssin project folder.
docker-compose upto start instances of the following containers
eth1,
prysm,
postgresand
golang.
docker run -it --rm --net=host -v $(pwd):/src postgres psql -f /src/tables.sql -d db -h 0.0.0.0 -U postgresto create new tables in the database
prysminstance.
config-example.ymlfile and adapt it to your environment.\ In your
.ymlfile specify
eth1Endpointas
'./private/eth1_node/.ethereum/goerli/geth.ipc'. For database information check
postgressection in
docker-compose.ymlfile.
golanginstance by running
docker exec -ti golang bashand run
make all
Start the explorer binary and pass the path to the config file as argument
./bin/explorer --config your_config.yml
Install golint. (see https://github.com/golang/lint)
The explorer uses Highsoft charts which are not free for commercial and governmental use. If you plan to use the explorer for commercial purposes you currently need to purchase an appropriate HighSoft license. We are planning to switch out the Highsoft chart library with a less restrictive charting library (suggestions are welcome).