{"repo":"anders94/bitcoin-supply.com","free":true,"listed":false,"github":"https://github.com/anders94/bitcoin-supply.com","clone":"git clone https://github.com/anders94/bitcoin-supply.com.git","description":"We're tracking provably lost bitcoin at https://bitcoin-supply.com","language":"TypeScript","stars":16,"topics":["bitcoin"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"bitcoin supply explorer v2 A Bitcoin supply explorer that answers: \"If you believe coins are lost after X years of dormancy, how much bitcoin is actually circulating?\" The interface presents a spectrum from everything out of circulation (absurdly inclusive — every UTXO) to nothing out of circulation (trustfully inclusive — even provably unspendable coins might somehow be claimed). A separate quantum slider shows how much BTC a rational attacker could capture by targeting the largest exposed-pubkey outputs first. --- Architecture Layer Technology ------- ----------- Runtime Node.js 22+ / TypeScript Bitcoin data Bitcoin Core JSON-RPC verbosity=3 + ZMQ Database PostgreSQL 16+ (partitioned UTXO table) Cache Redis 7+ Web framework Express + Pug (SSR) Frontend Vanilla TypeScript via esbuild Sliders noUiSlider Charts Chart.js v4 Why verbosity=3 directly getblock(hash, 3) returns a single JSON response with full decoded inputs (including prevout.value and prevout.scriptPubKey for every input) and outputs. This eliminates the need for a separate UTXO lookup during ingestion — Bitcoin Core handles it. One round-trip per block. UTXO table design - Rows deleted when outputs are spent (not flagged). The table always reflects the live UTXO set. - Partitioned by block number into halving epochs (0–210k, 210k–420k, …). - block timestamp is denormalized into every UTXO row so dormancy queries can use a plain index scan without joining to blocks . - loss bucket is never 3 — dormancy is compute","default_branch":null,"files":null,"tree":[],"storefront":"/r/anders94","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/anders94/bitcoin-supply.com/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}