Building a multi-chain explorer with zero npm dependencies
Building a multi-chain explorer with zero npm dependencies
I wanted a block explorer that answers three questions quickly: what is this address, is its USDT frozen, and how much will a transfer cost? Existing explorers are heavy, ad-packed and often slow on mobile. So I built a small one.
Live site: https://chianbot66.cc
The constraint: no dependencies
The whole server is plain Node.js — no Express, no React, no build step. HTML is rendered on the server, CSS is one file, and the only client-side JavaScript is a copy button. That keeps the deployment simple: node server.js behind nginx, one systemd unit.
What it covers
- TRON, Ethereum, Bitcoin and Solana: blocks, transactions, addresses
- Tether USDT freeze lookup for TRON and Ethereum
- Transfer-fee estimates from live chain parameters
- Address risk signals from GoPlus, combined with local freeze data
- A Telegram bot for address monitoring and price alerts
Caching and rate limits
Public RPC endpoints are the bottleneck. Two things helped most:
- Stale-while-revalidate — serve cached data instantly and refresh in the background.
- In-flight request merging — if ten users request the same address, only one upstream call is made.
Without these, a single crawler can exhaust a free RPC quota in minutes.
What I learned
- Server-rendered pages are still the fastest way to ship a content site.
- Canonical URLs, hreflang and a clean sitemap matter more than any framework.
- A small, focused explorer is easier to keep fast than a feature-heavy one.
Try it
- Site: https://chianbot66.cc
- API docs: https://chianbot66.cc/api-docs
- Notable wallets: https://chianbot66.cc/wallets/famous
If you are working with on-chain data and want to compare notes, the API has a free tier (60 req/min).