Beginner · Lesson 1

Bitcoin and blockchain: how a ledger becomes money

Start with the mechanism, not the price. A blockchain is a ledger with a cost to rewrite; Bitcoin is the first one that made that cost real.

Beginner11 min readUpdated 8 Nov 2026

Most explanations of Bitcoin start with the price chart. That is like explaining the postal service with a stamp auction. Start with the ledger instead, because everything else — mining, keys, fees, even the culture — follows from how that ledger is written.

A ledger with a cost to rewrite

A blockchain is a database that many computers keep a copy of. You can copy a database in minutes, so copying is not the interesting part. The interesting part is that changing history has a price.

Each new block contains a fingerprint of the block before it. Change one old transaction and its fingerprint changes, which breaks the fingerprint stored in the next block, and the next. To make the edited version accepted, you would have to redo the work for every block after it, faster than everyone else is extending the real chain. That is the whole trick: not that history is impossible to change, but that changing it costs more than accepting it.

The fingerprint is a cryptographic hash. Take any text, run it through the function, and you get a fixed-length string. Change a comma and the output is completely different. Bitcoin uses this property twice: to chain blocks together and, in mining, to make the next block expensive to produce.

What is inside a block

A block is a container, not a coin. It holds:

  • A header, with the previous block's hash, a timestamp, a difficulty target and a random number called a nonce.
  • A list of transactions, each one pointing to coins that already exist and saying who may spend them.
  • A coinbase transaction, which pays the miner the block reward plus the fees of every transaction included.

Bitcoin does not track balances the way a bank does. It tracks unspent outputs — UTXOs. If someone pays you 0.01 BTC and you later spend 0.004 BTC, the wallet creates a transaction that consumes the 0.01 output and produces a 0.004 output for the recipient and a 0.006 output back to you. Your «balance» is the sum of the outputs your keys can spend. This is why a Bitcoin transaction can have a change address and why «coin control» exists.

Why miners spend electricity

Miners compete to produce the next block. They take the header, add a nonce, hash it, and check whether the result is below a target set by the protocol. There is no clever shortcut: it is guessing, billions of times per second.

The target adjusts automatically every 2,016 blocks, roughly two weeks, so that blocks arrive about every ten minutes on average. If more machines join, the target gets harder; if they leave, it gets easier. This is the difficulty adjustment, and it is the reason «Bitcoin uses more energy» is not a design accident but the security budget itself.

The reward for a valid block is currently 3.125 BTC, plus fees. It halves every 210,000 blocks, roughly every four years, until the cap of 21 million coins is reached. Miners are therefore paid in newly issued coins and in transaction fees, and the balance between those two changes over decades.

Why this matters to a user. A transaction is not final because an exchange says so. It is final because it is buried under enough work that rewriting it is irrational. One confirmation is a probability; six is a habit, not a law.

What Bitcoin does well

Bitcoin is a settlement network designed for one property above all others: nobody can stop a valid transaction or invent an invalid one. It does that with a simple scripting language, a conservative upgrade process and a monetary policy that no committee can change.

It is also unusually transparent. Every transaction is public and permanent. That is excellent for auditability and terrible for privacy if you reuse addresses or buy through a KYC exchange that links your identity to them.

What it does not do

Bitcoin does not execute general-purpose smart contracts, does not have a native token standard for issuing assets, and does not settle thousands of complex operations per second on the base layer. It can carry data and it has layers above it — Lightning for payments, sidechains and bridges for other experiments — but the base layer is deliberately narrow.

That narrowness is not a defect to be fixed by the next marketing cycle. It is the reason the rules are easy to check. When someone tells you a new chain «does everything Bitcoin does, but faster», ask what they gave up to get the speed: usually validator count, hardware requirements or the ability to change the rules.

«Not your keys, not your coins»

When you buy bitcoin on an exchange, the exchange's database records that you have a claim. The bitcoin itself sits in a wallet controlled by the exchange. You own a promise, not a UTXO.

Self-custody means holding the key that can sign for the UTXO. It also means holding the responsibility: nobody can reset your seed phrase, reverse a wrong address or freeze a stolen transaction. The trade-off is real in both directions. The next lessons cover how to make that trade-off deliberately instead of by accident.

The three numbers to remember

NumberWhat it means
21,000,000Maximum supply encoded in the protocol
10 minutesTarget time between blocks, on average
210,000Blocks between halvings, roughly four years

Everything else — fees, price, mining profitability — moves around those constants. The constants are why people call it a monetary protocol rather than an app.

Check yourself

  • If you edit a transaction in block 800,000, what exactly do you have to redo?
  • Why does the difficulty target change every 2,016 blocks instead of every block?
  • What is the difference between the balance shown by an exchange and the UTXOs your wallet can spend?

If the third one is not obvious, read Wallets, private keys and seed phrases next. The terms in this lesson — UTXO, proof of work, hash — are defined in the glossary without circular language. For the network itself — issuance, the halving and the hard limits — see Bitcoin: the network, the asset and its limits.