Technical reference site for engineers and DeFi developers: the top stablecoins by market cap, with networks, contracts, features, and risk notes. Market cap (and total tracked cap) is refreshed at build time from DefiLlama. Per-coin chain lists and counts come from manually curated deployments in data/coins.ts (official / documented networks only — not every DefiLlama-indexed bridge variant). Live at stablemoney.dev.
- Next.js 14 (App Router)
- TypeScript, Tailwind CSS, shadcn/ui
- next-mdx-remote (RSC) for supplementary MDX on coin pages
- Fuse.js for client-side fuzzy search
- next-themes (dark default + light toggle)
npm install
npm run devOpen http://localhost:3000.
| Command | Description |
|---|---|
npm run dev |
Development server |
npm run build |
Production build (runs prebuild automatically) |
npm run prebuild |
Fetch live market data from DefiLlama |
npm run start |
Run production server |
npm run lint |
ESLint |
npm run format |
Prettier write |
npm run format:check |
Prettier check |
app/— Routes: home,/coins/[symbol],/onchain-wallet-check,/compare,sitemap.ts,robots.tscomponents/— UI: cards, filters, search, compare matrix, tablesdata/coins.ts— Typed coin datasetsite/— Site config, coin search (Fuse), feature merge helpers, MDX loader, andsite/content/coins/*.mdxfor optional coin page sectionslib/— Market data, crypto RPC helpers, EIP utilities, etc.
Copy .env.example to .env.local. Defaults use https://stablemoney.dev when unset. For local Open Graph / sitemap URLs, set:
NEXT_PUBLIC_SITE_URL=http://localhost:3000V1 does not require API keys.
Build with npm run build and run with npm run start on any Node host, or use your platform’s Next.js integration. NEXT_PUBLIC_SITE_URL defaults to https://stablemoney.dev; override for staging or local builds if needed.
netlify.tomlis included with:- build command:
npm run build(runsprebuildfirst via npm lifecycle, fetching DefiLlama data) - default production URL:
NEXT_PUBLIC_SITE_URL=https://stablemoney.dev
- build command:
- In Netlify site settings, set the same env var for Production:
NEXT_PUBLIC_SITE_URL=https://stablemoney.dev
- Connect your repository, deploy, then attach
stablemoney.devin Domain management.
Market cap and chain counts are fetched at build time. To keep them fresh:
- In Netlify go to Site settings > Build & deploy > Build hooks and create a hook.
- Use an external cron service (e.g. cron-job.org) to POST to the hook URL once daily.
Each triggered rebuild runs prebuild, pulling the latest data from DefiLlama before the Next.js build starts. If the API is unreachable, the build still succeeds using the last cached data/generated/market-data.json or static fallbacks from data/coins.ts.
MIT. Copyright (c) 2026 BlockRocket.