Technology March 5, 2026

How Blockchain Works

A 6-minute read

Blockchain isn't magic internet money. It's a specific type of database designed to make certain kinds of cheating mathematically impossible.

In 2008, an anonymous person (or group) published a nine-page white paper under the name Satoshi Nakamoto titled “Bitcoin: A Peer-to-Peer Electronic Cash System.” It proposed a system for sending money without banks, contracts, or trust between strangers. The key insight wasn’t cryptography or peer-to-peer networks — both already existed. It was the idea of making a ledger that nobody owns but everybody can verify. That insight became blockchain.

The short answer

A blockchain is a shared ledger that records transactions across thousands of computers simultaneously. Each new batch of transactions is cryptographically linked to the previous batch, forming a chain. To alter any historical record, you’d have to redo an enormous amount of work and convince the majority of the network to accept your version, which is, by design, practically impossible.

The full picture

Start with the problem: why we need trust

Every financial system is built on a ledger. Your bank keeps a ledger of your balance. When you buy coffee, the bank debits your account and credits the coffee shop’s. You trust your bank to record this honestly.

But trust in a central authority has failure modes. The authority can be hacked. It can lie. It can freeze accounts. It can go bankrupt. The question blockchain was designed to answer: can you have a ledger without trusting any single party to maintain it?

How a blockchain actually works

A blockchain replaces the central ledger with thousands of copies, held by thousands of computers (called nodes) around the world.

When someone makes a transaction (say, sending Bitcoin) it gets broadcast to all nodes. Those nodes collect recent transactions into a batch called a block. Each block holds several thousand transactions, plus two critical pieces of information: a timestamp, and a hash of the previous block.

A hash is the output of a mathematical function that takes any input and produces a fixed-length string of letters and numbers. Think of it like a fingerprint. Feed in the entire previous block’s data, and you get a unique fingerprint for it. Change even a single character in that block, and the fingerprint changes completely.

This is what creates the “chain.” Each block contains the fingerprint of the block before it. If you altered a transaction from two years ago, that block’s fingerprint would change, which would break the hash reference in the next block, which would cascade forward through every subsequent block. The chain from the alteration point onward would be invalid.

Distributed consensus: nobody’s in charge

All those nodes need to agree on which transactions are valid and in what order. This agreement process is called consensus.

Bitcoin’s original consensus mechanism is called proof of work. To add a new block to the chain, a node (called a miner) must solve a computationally expensive puzzle: find a number that, when included in the block, makes the block’s hash start with a certain number of zeros. There’s no shortcut. You just try numbers until one works. This requires massive computing power. Bitcoin miners collectively consume roughly 138 terawatt-hours of electricity per year — comparable to a mid-sized country like Poland — according to the Cambridge Centre for Alternative Finance (2025).

Why make it hard? Because if you want to rewrite history, you’d need to redo the work for every block after the one you changed, plus all the new blocks being added while you’re working, faster than the entire rest of the network. With Bitcoin, that would require controlling more than 50% of the world’s Bitcoin mining capacity.

Proof of stake: a greener alternative

Bitcoin’s energy use prompted the development of proof of stake, which Ethereum switched to in 2022.

Instead of competing to solve puzzles, validators put up a financial deposit (a “stake”) as collateral. The protocol randomly selects validators to propose and approve new blocks, weighted by how much they’ve staked. If a validator tries to cheat, they lose their stake.

Proof of stake achieves similar security to proof of work with a tiny fraction of the energy — ethereum.org estimates the entire Ethereum network now consumes roughly 0.0026 TWh per year, compared to Bitcoin’s ~138 TWh — because the “cost” of cheating is financial rather than computational.

Where blockchains are useful, and where they struggle

Blockchains are genuinely valuable when multiple parties who don’t trust each other need to agree on a shared record — international payments, property title registries, supply chain provenance, and decentralized finance are real use cases. Most other applications don’t need one.

The key property a blockchain offers is immutability: once a transaction is recorded and buried under a few subsequent blocks, altering it becomes practically impossible without the network noticing.

For applications where you need multiple parties who don’t trust each other to agree on a shared record, this is genuinely valuable. International payments between banks, property title registries, supply chain provenance tracking, and decentralized finance all have legitimate uses for an append-only ledger that nobody owns.

But blockchains come with inherent tradeoffs, often called the blockchain trilemma. Any blockchain struggles to be all three of these simultaneously: decentralized (no single party controls it), secure (resistant to attacks), and scalable (able to handle many transactions per second). Bitcoin processes about 7 transactions per second; Visa’s network handles around 24,000.

Smart contracts: blockchains that run code

The original Bitcoin blockchain was designed to do one thing: track who owns what. But in 2015, a platform called Ethereum expanded the concept dramatically by adding programmability.

Smart contracts are programs that live on a blockchain and execute automatically when certain conditions are met. Think of them as vending machines: put in the right input, and the machine executes the transaction without a human intermediary.

A simple example: an escrow. Normally, if you’re buying a house, both parties need to trust an escrow company to hold the funds and release them when conditions are met. A smart contract can do the same thing: it holds the funds, checks that the conditions were met (confirmed by pre-agreed data sources called oracles), and releases the money automatically. No escrow company. No possibility of fraud by the intermediary.

More complex examples: decentralized exchanges that let you trade cryptocurrencies without a centralized broker. Lending protocols that accept cryptocurrency as collateral and issue loans instantly. NFTs (non-fungible tokens), which are smart contracts that track ownership of a unique digital item.

Smart contracts have a critical limitation: they can only access information from the blockchain itself. If a contract needs real-world data — the current price of gold, whether a flight was cancelled — it needs an oracle, a trusted data feed. Oracles reintroduce a trust dependency, which is philosophically awkward for a technology designed to eliminate trust in third parties.

Why it matters

The deeper insight from blockchain isn’t about cryptocurrency specifically. It’s that trust between parties has historically required a middleman: a bank, a notary, a government registry. Blockchain shows that it’s possible to design systems where trust is enforced by math and distributed consensus rather than institutions.

Whether that’s useful depends entirely on whether the application actually needs a trustless ledger, or whether a regular database would work fine. Most applications don’t need blockchain. But in the specific cases where removing the trusted third party matters, like cross-border settlements, decentralized financial systems, and records that no government should be able to alter, the technology is doing something real.

Common misconceptions

“Blockchain transactions are anonymous.” Most major blockchains are pseudonymous, not anonymous. Every transaction is permanently public. Analysts can and do trace funds between addresses.

“Blockchain data is always accurate.” The blockchain guarantees that recorded data hasn’t been altered after the fact. It says nothing about whether the data was accurate when it was entered. Garbage in, permanent garbage out.

“Blockchain is the same as cryptocurrency.” Cryptocurrency uses blockchain as its ledger, but blockchain has applications beyond money. The technology is the database; cryptocurrency is one application of it.