GNU General Public License v3.0

项目介绍

gobitfly/eth2-beaconchain-explorer 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 GNU General Public License v3.0 许可证,目前获得 907 个 Star、521 次 Fork。

仓库全名
gobitfly/eth2-beaconchain-explorer
开源许可证
GNU General Public License v3.0
Star 数
907
Fork 数
521
未关闭 Issue
67

README 摘要

Ethereum Beacon Chain Explorer The explorer provides a comprehensive and easy to use interface for the upcoming Ethereum beacon chain. It makes it easy to view proposed blocks, follow attestations and monitor your staking activity. About 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 Ethereum chain where…

完整内容见 GitHub 原始 README 或本页 。

常见问题

eth2-beaconchain-explorer 用什么语言开发?

主要使用 Go 编写,采用 GNU General Public License v3.0 许可证,目前有 907 个 Star。

eth2-beaconchain-explorer 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 eth2-beaconchain-explorer 的源码?

可以直接克隆仓库:git clone https://github.com/gobitfly/eth2-beaconchain-explorer.git,默认分支为 master;安装与运行步骤见仓库 README。

eth2-beaconchain-explorer 最近还在维护吗?

仓库最近一次更新为 2025年11月12日,当前有 67 个未关闭 Issue;Star 数为 907,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Open source golang based explorer for the eth2 beacon chain

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
2001
价值分
702
活跃状态
活跃

语言占比

CSS
Dockerfile
Go
HTML
JavaScript
Makefile
Shell
Starlark

Release

README

Ethereum Beacon Chain Explorer

The explorer provides a comprehensive and easy to use interface for the upcoming Ethereum beacon chain. It makes it easy to view proposed blocks, follow attestations and monitor your staking activity.

Discord Twitter

Badge Go Report Card GitPOAP Badge

About

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 Ethereum chain where closed source block explorers dominate the market we decided to make our explorer open source and available for everybody.

Ethereum Testnet Explorers

Goerli
Sepolia
Holesky

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 Ethereum ecosystem matures we will be able to provide stronger guarantees about the updatability of the explorer.

Site

Features

ToDo

  • Add chain statistic charts
  • Improve design, move away from stock bootstrap 4
  • Use a proper open source charting library
  • Come up with a smarter exporter logic (the current logic is stupid as it simply dumps the contents of the RPC calls into the database without doing any pre-aggregation or cleanups)

Getting started

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.

  • Download the latest version of the Prysm beacon chain client and start it with the --archive flag set
  • Wait till the client finishes the initial sync
  • Setup a PostgreSQL DB and import the tables.sql file from the root of this repository
  • Install go version 1.13 or higher
  • Clone the repository and run make all to build the indexer and front-end binaries
  • Copy the config-example.yml file and adapt it to your environment
  • Start the explorer binary and pass the path to the config file as argument
  • To build bootstrap run npm run --prefix ./bootstrap dist-css in project folder.

Developing locally with docker

  • Clone the repository

  • Run docker-compose up to start instances of the following containers eth1, prysm, postgres and golang.

  • Open a new terminal in project directory and run docker run -it --rm --net=host -v $(pwd):/src postgres psql -f /src/tables.sql -d db -h 0.0.0.0 -U postgres to create new tables in the database

  • Wait for the client to finish initial sync, you can check this by looking at logs of prysm instance.

  • Copy the config-example.yml file and adapt it to your environment.
    In your .yml file specify eth1Endpoint as './private/eth1_node/.ethereum/goerli/geth.ipc'. For database information check postgres section in docker-compose.yml file.

  • Connect to golang instance by running docker exec -ti golang bash and run make all

  • Start the explorer binary and pass the path to the config file as argument

    ./bin/explorer --config your_config.yml   
    

Development

Install golint. (see https://github.com/golang/lint)

Commercial usage

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).

评论

暂无评论