Finance / Bitcoin

Bitcoin

How a payment can be recorded and trusted with no bank in the middle: keys, a signed transaction, a public chain of blocks, a capped supply, and what the design costs.

Beginner7 steps~7 min
Alice — pays, and holds a private key
Bob — is paid at his address
Node — a computer with a full copy of the ledger
// THE SHORT VERSION

In 30 seconds

Bitcoin is digital money with no central issuer. Instead of a bank’s private books, there is one public ledger that thousands of independent computers each keep and check.

You control coins with a secret private key. Signing with it creates a transaction, which the network verifies and miners pack into a chain of blocks, about one every ten minutes.

New coins come only from block rewards that halve on a schedule, so the total stays below 21 million. The price of this design: slow payments, fees, a volatile price and no way to undo mistakes.

Bitcoin, step by step

STEPS01 / 07

Simplified: amounts are round, hashes are shortened, and an address is usually an encoding of a hash of the public key. This explains the mechanism; it is not advice to buy, hold or use bitcoin.

STEP 01 / 07 Money without a bank
THE MATH
no central issuer one public ledger copied on many computers
  1. Step 1: Money without a bank. Ordinary digital money is an entry in a bank’s private ledger. Bitcoin, launched in 2009, replaces the bank with a public ledger that thousands of independent computers (nodes) each hold and check. No company or state issues the coins or approves payments.
  2. Step 2: Keys and addresses. Nobody opens an account. Alice’s wallet picks a huge random number, her private key, and derives a public key and an address from it by one-way maths. Others pay to the address; only the private key can spend from it. The steps cannot be run backwards.
  3. Step 3: A signed transaction. Coins are not stored in a wallet: the ledger records unspent amounts locked to addresses. To pay Bob 0.3, Alice spends her whole 1.0 coin, sends 0.3 to Bob’s address and 0.6999 back to herself as change, and leaves 0.0001 as a fee. Her private key signs the message.
  4. Step 4: Every node checks it. Alice’s wallet sends the transaction to a few nodes, which pass it on. Each one checks it alone, against its own copy of the ledger: the signature fits the address, the coin has not been spent already, and no bitcoin appears from nowhere. Invalid transactions are simply dropped.
  5. Step 5: Miners add a block. Valid transactions wait until a miner packs them into a block. Each block carries the hash of the one before, so the ledger is a chain. Adding a block takes real computing work, tuned so that one appears about every ten minutes. The longer a payment has been buried, the harder it is to undo.
  6. Step 6: A fixed supply. New bitcoin appear only as the reward in each block. It began at 50 and halves every 210,000 blocks, about every four years. The slices 10.5 million, 5.25 million, 2.625 million and so on add up to just under 21 million. The schedule is a rule that every node enforces, so no single party can issue more.
  7. Step 7: The limits. The design has costs. Blocks are small and slow, so the network handles only a few payments per second and fees rise when it is busy. Nothing anchors the price, which swings widely. A lost key or a mistaken payment cannot be reversed. Mining also consumes a great deal of electricity.
VALUES SO FAR
ledgershared copiespublic
key····secret
address····public
input····spent
to Bob····output
fee····miner
block····rule
halving····rule
cap····rule

Spotted a mistake on this page?