An Introduction to Bitcoin
300Hours Learn Lab Curriculum Reading | Topic: CAIA1_DIGITAL | Qualification: CAIA LEVEL1
# An Introduction to Bitcoin Launched in January 2009 following Satoshi Nakamoto's October 2008 whitepaper (*Bitcoin: A Peer-to-Peer Electronic Cash System*), **Bitcoin (BTC)** was the first decentralized digital asset to solve the **double-spending problem** without relying on a central bank, clearinghouse, or commercial financial intermediary. Over the past decade and a half, Bitcoin has evolved from a niche cryptographic experiment into a multi-hundred-billion-dollar alternative asset class accessed by retail participants, corporate treasuries, and institutional asset allocators through regulated spot exchange-traded products (ETPs) and futures markets. --- ## 1. Design Philosophy and Technical Architecture Bitcoin prioritizes **censorship resistance, monetary predictability, and security** over maximum base-layer throughput or complex general-purpose programmability. ### The UTXO Accounting Model Unlike traditional bank accounts-or Ethereum-which track a single mutable balance per user, Bitcoin uses an **Unspent Transaction Output (UTXO)** model analogous to physical cash bills: - Every Bitcoin transaction consumes one or more existing UTXOs as **inputs** (unlocked via the owner's ECDSA/Schnorr digital signature) and creates new UTXOs as **outputs**. - If a wallet holds a single $1.0\text{ BTC}$ UTXO and sends $0.3\text{ BTC}$ to a counterparty (with a $0.0002\text{ BTC}$ miner fee), the transaction destroys the $1.0\text{ BTC}$ UTXO and generates two new UTXOs: $0.3\text{ BTC}$ to the recipient and $0.6998\text{ BTC}$ back to a fresh **change address** controlled by the sender. - **Institutional advantage**: UTXOs make parallel validation straightforward, cleanly prevent replay attacks, and allow straightforward cryptographic verification of total coin supply. ### Deliberately Constrained Scripting and Protocol Upgrades Bitcoin's native scripting language (**Bitcoin Script**) is intentionally **non-Turing-complete** (lacking arbitrary loops), shrinking the attack surface for bugs and denial-of-service exploits. Protocol upgrades have proceeded conservatively via backward-compatible **soft forks**: - **Segregated Witness (SegWit, 2017)**: Separated digital signature ("witness") data from transaction IDs, fixing transaction malleability (critical for Layer-2 payment channels) and effectively raising block capacity via a $4\text{ million weight unit (MWU)}$ limit. - **Taproot (2021)**: Introduced **Schnorr signatures** and Merklized Alternative Script Trees (MAST), improving multi-signature efficiency, privacy, and smart-contract flexibility without sacrificing Layer-1 conservatism. ### Proof of Work and the 2,016-Block Difficulty Adjustment Bitcoin miners aggregate pending transactions from the **mempool** and compete via SHA-256 Proof of Work to append a new block roughly every **10 minutes**. To keep issuance strictly on schedule regardless of technological leaps in ASIC mining chips or surges in global hashrate, the protocol automatically recalculates mining **difficulty every 2,016 blocks** (approximately two weeks): - If the previous 2,016 blocks were mined faster than $20{,}160\text{ minutes}$ (14 days), difficulty rises proportionally. - If they took longer than 14 days, difficulty falls proportionally (capped at a $4\times$ adjustment per epoch). ```mermaid flowchart TD TX[Signed UTXO Transaction]:::blue --> MEM[Node Mempool Validation]:::turquoise MEM --> MINE[SHA-256 PoW Mining Competition]:::yellow MINE --> BLK[New Block Appended Every ~10 Minutes]:::green BLK --> DA[Difficulty Adjustment Every 2,016 Blocks]:::purple DA --> MINE BLK --> HALV[Block Subsidy Halving Every 210,000 Blocks]:::lime HALV --> CAP[Asymptotic Hard Cap: 21,000,000 BTC]:::blue BLK --> LN[Layer-2 Lightning Network: Off-Chain Payment Channels & Instant Settlement]:::turquoise classDef blue fill:#eff6ff,stroke:#1976D2,color:#1e293b classDef green fill:#dcfce7,stroke:#009966,color:#1e293b classDef yellow fill:#fffbeb,stroke:#FFA300,color:#1e293b classDef purple fill:#f5f3ff,stroke:#8A759D,color:#1e293b classDef turquoise fill:#ecfdf5,stroke:#53A97D,color:#1e293b classDef lime fill:#f7fee7,stroke:#9E9D24,color:#1e293b ``` --- ## 2. Monetary Policy, Halvings, and the Security Budget Bitcoin's defining economic attribute is its **algorithmic, auditable disinflationary supply schedule** capped strictly at **21 million BTC** (divisible down to $1\text{ satoshi} = 10^{-8}\text{ BTC}$). | Halving Epoch | Block Height Range | Approximate Dates | Block Subsidy (BTC) | New BTC Issued in Epoch | Cumulative Supply (End of Epoch) | | :---: | :---: | :---: | :---: | :---: | :---: | | **1 (Genesis)** | `0 - 209,999` | Jan 2009 - Nov 2012 | $50.0000$ | $10{,}500{,}000$ | $10{,}500{,}000$ ($50.00\%$) | | **2** | `210,000 - 419,999` | Nov 2012 - Jul 2016 | $25.0000$ | $5{,}250{,}000$ | $15{,}750{,}000$ ($75.00\%$) | | **3** | `420,000 - 629,999` | Jul 2016 - May 2020 | $12.5000$ | $2{,}625{,}000$ | $18{,}375{,}000$ ($87.50\%$) | | **4** | `630,000 - 839,999` | May 2020 - Apr 2024 | $6.2500$ | $1{,}312{,}500$ | $19{,}687{,}500$ ($93.75\%$) | | **5 (Current)** | `840,000 - 1,049,999` | Apr 2024 - ~2028 | $3.1250$ | $656{,}250$ | $20{,}343{,}750$ ($96.88\%$) | | **6** | `1,050,000 - 1,259,999` | ~2028 - ~2032 | $1.5625$ | $328{,}125$ | $20{,}671{,}875$ ($98.44\%$) | ### Long-Term Security Budget Debate Miners earn two revenue streams: the **block subsidy** (newly minted BTC) and **transaction fees** paid by users competing for block space. Because the block subsidy halves every four years and approaches zero around the year 2140, Bitcoin's long-term security relies on **transaction fees** eventually becoming large enough-or Bitcoin's real purchasing power appreciating sufficiently-to incentivize enough honest hashrate to deter 51\% attacks. Analysts refer to this transition challenge as Bitcoin's **long-term security budget**. --- ## 3. Scaling via the Lightning Network Base-layer Bitcoin settles roughly $4$ to $7$ transactions per second with 10-minute average confirmation times, making Layer-1 well suited for high-value final settlement but impractical for buying daily coffee. The **Lightning Network** is Bitcoin's flagship **Layer-2 payment-channel network**: - Two parties lock BTC into a 2-of-2 multi-signature funding transaction on Layer-1. - Inside that channel, they can exchange thousands of instantaneous, sub-cent balance updates off-chain without broadcasting every payment to the global blockchain. - **Hashed Timelock Contracts (HTLCs)** route payments atomically across multi-hop channels between strangers without custodial trust. - Only when either party closes the channel is the final net balance settled on Layer-1 Bitcoin, preserving Bitcoin's base-layer security while enabling high-throughput payments. --- ## 4. Worked Quantitative Examples: Supply Math and Mining Economics ### Example 1: Geometric Supply Cap, Annualized Inflation, and Stock-to-Flow 1. **Exact Geometric Limit**: Every $210{,}000$ blocks, the reward halves starting from $50\text{ BTC}$: $\text{Max Supply} = 210{,}000 \times \sum_{i=0}^{\infty} 50 \left(\frac{1}{2}\right)^i = 210{,}000 \times \frac{50}{1 - 0.5} = 21{,}000{,}000\text{ BTC}$ (Due to integer satoshi rounding at tiny subsidies in distant epochs, exact asymptotic supply is marginally below $21{,}000{,}000\text{ BTC}$.) 2. **Post-2024 Annual Issuance & Stock-to-Flow (S2F)**: At $3.125\text{ BTC}$ per block and $144$ blocks/day ($52{,}560$ blocks/year): $\text{Annual Flow} = 52{,}560 \times 3.125 = 164{,}250\text{ BTC/year}$ With circulating stock near $19.8\text{ million BTC}$, the annualized monetary inflation rate and Stock-to-Flow ratio are: $\text{Annual Inflation} = \frac{164{,}250}{19{,}800{,}000} \approx 0.83\% \qquad \text{S2F} = \frac{19{,}800{,}000}{164{,}250} \approx 120.5\text{ years}$ This places Bitcoin's supply-growth scarcity tighter than physical gold (historically $\text{S2F} \approx 60$, annual supply growth $\approx 1.6\%$-$1.8\%$). Crucially, however, CAIA emphasizes that **scarcity alone does not guarantee value**-S2F models ignore demand shifts, macroeconomic liquidity, and real interest rates. ### Example 2: Bitcoin Miner Daily Revenue and Break-Even Electricity Price A commercial mining facility operates $1{,}000$ ASIC machines, each producing $200\text{ TH/s}$ ($0.20\text{ PH/s}$) while consuming $3{,}500\text{ W}$ ($3.5\text{ kW}$). Assume global network hashrate is $600\text{ EH/s}$ ($600{,}000\text{ PH/s}$), BTC trades at USD 75,000, average block reward is $3.125\text{ BTC}$ subsidy $+ 0.175\text{ BTC}$ fees $= 3.30\text{ BTC}$, and electricity costs USD 0.055/kWh. 1. **Facility Hashrate Share & Expected Daily BTC**: $H_{\text{facility}} = 1{,}000 \times 0.20 = 200\text{ PH/s}, \qquad \text{Share} = \frac{200}{600{,}000} = \frac{1}{3{,}000}$ $\text{Daily BTC} = \frac{1}{3{,}000} \times 144 \times 3.30 = 0.1584\text{ BTC/day}$ $\text{Daily Revenue} = 0.1584 \times 75{,}000 = 11{,}880\text{ USD/day}$ 2. **Daily Electricity Cost & Operating Margin**: $\text{Daily Energy} = 1{,}000 \times 3.5\text{ kW} \times 24\text{ h} = 84{,}000\text{ kWh/day}$ $\text{Daily Power Cost} = 84{,}000 \times 0.055 = 4{,}620\text{ USD/day}$ $\text{Daily Gross Operating Profit} = 11{,}880 - 4{,}620 = 7{,}260\text{ USD/day}$ The facility's **cash break-even electricity rate** (excluding hardware depreciation and hosting overhead) is $11{,}880 / 84{,}000 \approx 0.141\text{ USD/kWh}$. Following a halving or BTC drawdown, high-cost miners shut off machines first, lowering network difficulty and restoring equilibrium margins for the lowest-cost energy operators. --- ## 5. Valuation Frameworks and Institutional Access Vehicles Because Bitcoin generates no dividends, coupons, or protocol cash flows, traditional Discounted Cash Flow (DCF) models do not apply directly. Institutional analysts triangulate valuation across four complementary lenses: - **Digital Gold / Addressable Store-of-Value Market Share**: Benchmarking Bitcoin's market capitalization against above-ground investable gold (private bullion, ETFs, and central bank reserves). - **Network Effects (Metcalfe's Law & Generalized Models)**: Modeling network value as proportional to active users squared ($V \propto n^2$) or more conservatively $V \propto n \log(n)$, tempered by wallet-address noise and custodial pooling. - **On-Chain Activity Ratios (NVT & MVRV)**: The **Network Value to Transactions (NVT)** ratio functions loosely like a price-to-sales multiple, while **MVRV** compares Market Value to **Realized Value** (aggregate cost basis of coins at the price they last moved on-chain) to gauge cycle extremes. - **Cost-of-Production Support**: Marginal electricity and hardware cost of producing $1\text{ BTC}$ acts as a soft behavioral floor during capitulation, though difficulty adjusts downward if prices fall persistently below marginal cost. ### Institutional Access Comparison - **Spot Bitcoin ETFs / ETPs**: Hold physically custodied BTC with regulated qualified custodians, tight bid-ask spreads, low expense ratios, and daily creation/redemption eliminating persistent NAV premiums or discounts. - **CME Futures & Futures-Based ETFs**: Cash-settled regulated derivatives; however, futures-based ETFs frequently suffer **contango roll drag** during bullish markets when front-month contracts trade above spot. - **Direct Self-Custody & Qualified Custody**: Offers direct sovereignty and zero management fees (self-custody via hardware wallets/multi-sig) or institutional segregation/insurance (qualified custodian), requiring robust private-key governance. - **Architecture**: Bitcoin uses a **UTXO** model, deliberately **non-Turing-complete** scripting, SHA-256 Proof of Work with **10-minute** target blocks, and automatic **difficulty adjustment every 2,016 blocks**. - **Monetary Policy**: Hard supply limit of **21 million BTC** enforced via **halvings every 210,000 blocks** (~4 years; currently $3.125\text{ BTC}$ per block), raising a long-term **security budget** question as block subsidies decline toward transaction-fee dependence. - **Layer-2 Scaling**: The **Lightning Network** uses bidirectional off-chain payment channels and HTLCs to deliver fast, low-fee payments anchored to Bitcoin's Layer-1 finality. - **Mining Equilibrium**: Miner profitability depends on BTC price, network hashrate/difficulty, ASIC efficiency, and electricity cost; difficulty self-adjusts as marginal high-cost miners capitulate. - **Valuation & Access**: Assessed via digital-gold market share, Metcalfe's Law, NVT/MVRV on-chain ratios, and production cost rather than DCF; institutional access is dominated by **spot ETPs** (avoiding futures contango roll drag) and qualified custody. What You Need to Know