Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project: Blockwatch

A live Bitcoin on-chain dashboard. Surfaces real-time market data, network health, security economics, and sentiment in a single page that auto-refreshes every 60 seconds.

Live: btcblockwatch.netlify.app

  • Market — price, market cap, 24h volume, ATH (CoinGecko)
  • Bitcoin vs. Gold — live gold spot price (via PAX Gold), gold market cap (~6.835B oz × price), the BTC price required for parity with gold's market cap, and the multiple of current price needed to get there
  • Bitcoin vs. US Debt — the rolling pace at which the US adds another $1 trillion in debt (year-over-year), total US national debt (TreasuryDirect), the BTC price required to cover it, the multiple of current price, and the same figure per US household and per person
  • Bitcoin vs. Money & Markets — US broad money (M2) and the combined market cap of all listed US companies (World Bank), each with a parity price, a multiple of the current price, and Bitcoin's current share of it
  • Network — block height, mempool size, recommended fees, hash rate, difficulty adjustment ETA, mempool fee histogram (mempool.space), circulating supply (CoinGecko)
  • Security & Issuance — 24h miner revenue, the share of it coming from fees rather than the block subsidy, next-halving countdown, daily issuance, mining-pool concentration, and satoshis per person alive
  • On-Chain Activity — active addresses and confirmed transactions (CoinMetrics), plus Lightning Network capacity, channels, and nodes (mempool.space)
  • Sentiment — Fear & Greed gauge with 30-day history (alternative.me)
  • History — 90-day price chart

All data sources are keyless and CORS-friendly — no backend, no API keys, pure client-side JavaScript. See info.html for plain-English explanations of every metric on the dashboard.

That constraint shapes what's here. FRED would give fresher, monthly M2 figures, but it serves no CORS header and so can't be read from a browser without a backend proxy. The World Bank's annual series is the keyless alternative, which is why the money and equity denominators step once a year rather than daily.

Month-over-month history

The macro cards carry a "vs. 30 days" chip, because a single instantaneous number can't tell you whether Bitcoin is gaining or losing ground against gold or the national debt.

That history lives in localStorage, on your device, and is never transmitted anywhere — a server-side history would have meant collecting data about you, which would undercut the point of a backend-free dashboard. Use Export history for a JSON copy and Import to restore it or move it between machines.

On first load the page reconstructs roughly a year of history from public archives (CoinGecko daily prices and market caps, PAX Gold, TreasuryDirect), so the deltas work immediately rather than after a month of visits. Metrics with no public daily archive — fee share, Lightning capacity, active addresses — accumulate from first load onward.

Running it

There's no build step and nothing to install. Open index.html directly in a browser, or serve the folder:

python3 -m http.server 8000

Note that localStorage is unavailable on file:// origins in some browsers, so the history feature needs the page served over HTTP to work.

Chart.js is the only third-party dependency, loaded from a CDN at runtime. Everything else is hand-written HTML, CSS, and JavaScript in two files. Deployed as a static site on Netlify.

The interface follows the Observation Deck design language — a dark "mission control" theme shared across the wider project family.

A note on rate limits

CoinGecko's free tier is shared per network address and is easy to exhaust. When it trips, the response comes back without CORS headers, so the browser reports an opaque network failure rather than a clean 429. The dashboard labels these as rate limits, keeps the last good values on screen, and recovers on the next refresh. The 90-day chart is cached for an hour rather than refetched every minute to stay well clear of the limit.

About

Live Bitcoin on-chain dashboard — market data, network health (block height, mempool, fees, hash rate, difficulty), Fear & Greed sentiment, plus macro comparisons against gold's market cap and the US national debt. Keyless public APIs, no backend, auto-refreshes every 60s.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages