Fan-made block explorer for the Ergo mainnet, live at explorer.erg.vn. It indexes the chain from Ergo full nodes into MySQL and serves blocks, transactions, boxes, addresses, tokens, rich lists and charts through a web UI, a JSON REST API and an MCP server for AI agents.
This is an independent community project, not affiliated with or endorsed by the Ergo Foundation or the Ergo Platform team. The official explorer is explorer.ergoplatform.com.
| directory | what | docs |
|---|---|---|
backend/ |
Java 21 · Jooby 4 · Guice · Jdbi · MySQL — REST API, chain indexer, MCP server | backend/README.md |
frontend/ |
Vite · React 19 · React Router 7 · Tailwind CSS 4 single-page app | frontend/README.md |
Requirements: JDK 21, Maven 3, Node 20+ with pnpm (corepack enable), MySQL 8 or MariaDB 10.6+, and an Ergo full node with
the extra indexer enabled (ergo.node.extraIndex = true) or access to a public one.
The backend/conf/ and backend/deploy/ directories (application config, logback, MySQL tuning, systemd and
Caddy files) are site-specific and not part of this repository. Create backend/conf/application.conf with
the keys listed in backend/README.md before starting the backend.
# database (dev defaults: root / root)
mysql -uroot -e "CREATE DATABASE ergo CHARACTER SET utf8mb4"
# backend on http://localhost:8080 (Flyway creates the schema on first start)
cd backend
mvn jooby:run
# frontend on http://localhost:5176, /api/v1 proxied to the backend
cd ../frontend
pnpm install && pnpm devPoint ergo.nodes in your application.conf at your node(s) and set indexer.enabled = true
to build the chain index; the explorer answers from the node while the first sync runs.
- REST:
https://explorer.erg.vn/api/v1/...— endpoints in backend/README.md. - MCP (Streamable HTTP, stateless, read-only):
https://explorer.erg.vn/api/mcp
claude mcp add --transport http ergo-explorer https://explorer.erg.vn/api/mcpEvery MCP answer carries an asOf block (chain height, index height, timestamp, response id) and a
mutable flag, so agents know whether a balance is still current. See
llms.txt for the agent-facing summary.
Bugs, wrong figures and missing pool labels are best reported as issues with the block, transaction or
address in question. Pull requests are welcome; run pnpm lint in frontend/ and mvn package in
backend/ before opening one.
MIT © 2026 Nguyen Duc Dung