Explorer & Web UI

Embedded web UI shipped inside the xe binary via //go:embed. No JS deps.


The embedded web UI ships inside the xe binary via //go:embed. No JavaScript dependencies, no build step, no separate deployment. Enable with xe node --ui.

Technology

  • Plain HTML + ES modules + Web Crypto
  • No framework, no bundler, zero JS dependencies
  • Embedded in the Go binary via //go:embed
  • Served by a separate HTTP server on --ui-port (default 8000, bound to 127.0.0.1) that reverse-proxies /api/* to the API server

Enabling

xe node --ui                     # serve UI on 127.0.0.1:8000 (default)
xe node --ui --ui-port 8081      # serve UI on a different port
xe node --ui --wallet=false      # disable wallet pages (on by default)

--ui requires --api — the node exits at startup otherwise, because the UI proxies /api/* to the API server. --ui-bind defaults to 127.0.0.1, so a remote box needs a reverse proxy in front of the UI port.

Pages

  • Dashboard (/) — node identity, stat tiles with sparklines, block-rate chart, recent blocks
  • Accounts (/accounts) — sortable table of all accounts
  • Blocks (/blocks) — recent blocks with asset, amount, balance
  • Leases (/leases) — all compute leases
  • Providers (/providers) — capacity metrics (capacity, used, active, total leases, last update)
  • Provider (/provider) — own provider status and stats
  • Wallet (/wallet) — send and receive (served by default; --wallet=false disables)
  • Wallets (/wallet/wallets) — create, import, rename, remove wallets; reveal seed
  • DAO (/dao) — draft, sign, submit state chain blocks
  • State Chain (/statechain) — block history and KV browser
  • Conflicts (/conflicts) — active/resolved conflicts
  • Peers (/peers) — network connectivity
  • Pending (/pending) — unreceived sends
  • Frontiers (/frontiers) — all account frontiers
  • Chat (/chat) — P2P messaging interface

Development Override

Use --ui-dir ./web/ to serve from filesystem instead of embedded assets (hot reload during development).

Legacy

The standalone explorer and web wallet apps — including the bundled React explorer this site still serves at its own /explorer route — are deprecated. The embedded UI (xe node --ui) replaces both.