Foundations

What Is a Blockchain?

The shared digital ledger behind every cryptocurrency, explained from scratch with no jargon.

A blockchain is a database that is copied across thousands of computers simultaneously, where new records are added in batches called “blocks” that are permanently chained together in order. That design makes the history nearly impossible to rewrite — which is exactly why it matters for money and trust.

Most databases you interact with daily are controlled by a single company. A bank knows how much money is in your account because it says so in its database. You trust the bank to keep that record accurate and honest. A blockchain replaces that single gatekeeper with a network where thousands of independent participants all hold identical copies of the same record, and all agree on updates before they are written.

The Problem Blockchains Solve

Before Bitcoin, digital money faced a fundamental obstacle known as the double-spend problem. Digital files are trivially easy to copy. If your money is just a file, what stops you from sending the same file to two different people at once?

The traditional answer was to trust a middleman — a bank or payment processor — to keep the authoritative ledger and refuse duplicate transactions. Blockchains solve the same problem without requiring anyone to be in charge. Instead, the network itself enforces the rules.

This is what makes a blockchain different from a shared spreadsheet or a cloud database. It is not just distributed storage; it is a system designed so that no single participant can alter historical records without the rest of the network noticing and rejecting the change.

How Blocks and Chains Actually Work

Think of the blockchain as a book of accounts written in permanent ink. Each “block” is one page, containing:

  • A batch of recent transactions (or other data)
  • A timestamp
  • A reference to the previous page — a short fingerprint called a hash

That reference to the previous block is what creates the “chain.” Because each block contains a fingerprint of the block before it, changing any old block would alter its fingerprint, breaking the link to the next block, which would break the link to the one after that, cascading all the way to the present. Any honest participant in the network would immediately see that the chain had been tampered with and reject it.

You can read a deeper technical explanation in the guide to how blockchain works, but the core intuition is simple: history is locked in place by mathematics, not by a company’s promise.

Insight: The hash function is the invisible glue holding the chain together. Even a tiny change to an old transaction produces a completely different hash — making tampering detectable without anyone needing to read every record by hand. Learn more in cryptographic hashing.

Who Keeps the Copies?

Every computer that participates in maintaining a blockchain is called a node. Nodes store the full history of the chain and check every new block against the rules before accepting it. Nobody appoints nodes; anyone with the right software and hardware can run one.

This is what “decentralized” means in practice. There is no headquarters, no server room, no company that could be pressured into changing the records. The blockchain exists as a living consensus among thousands of peers who all independently verify the same truth.

Of course, this raises an obvious question: if thousands of strangers are each holding a copy of the ledger, how do they agree on which new transactions are valid and in what order? That coordination problem is solved by consensus mechanisms — rule systems like proof of work and proof of stake that let a decentralized network reach agreement without trusting any single participant.

Public vs. Private Blockchains

Not all blockchains are open to the public. It helps to understand the spectrum:

TypeWho can read?Who can write?Examples
Public blockchainAnyoneAnyone who follows the rulesBitcoin, Ethereum
Consortium blockchainApproved membersApproved membersSome banking networks
Private blockchainRestrictedSingle organizationInternal corporate ledgers

The most significant blockchains — the ones underlying cryptocurrency — are public. Anyone can read every transaction ever recorded, and anyone can submit new transactions. This transparency is a deliberate design choice: when the rules are visible and the data is open, trust comes from verification, not from reputation.

Private blockchains do exist, typically used by businesses that want the tamper-evident properties of the technology without the openness. Critics argue that a private blockchain controlled by one organization offers few advantages over a well-designed traditional database. The genuine innovation in public blockchains comes from combining decentralization with openness.

What Gets Stored on a Blockchain?

The most familiar use case is recording transfers of value — who sent how much of a currency to whom. But a blockchain can store any data that can be expressed digitally.

Ethereum extended the idea by allowing the blockchain to store and execute small programs called smart contracts. These are self-executing agreements: once the conditions written into the code are met, the contract runs automatically, without any human intermediary. That capability opened the door to decentralized finance, digital ownership records, and much more.

The tradeoff is that blockchains are deliberately slow and expensive compared to centralized databases. Every node must process every transaction. Writing data to a public blockchain costs fees and takes time. For applications that require high speed and do not need decentralization, a traditional database is usually the better tool. Blockchains are the right choice when removing the need for trust in a central authority is worth those costs.

Limitations Worth Knowing

Blockchains are genuinely powerful, but the technology is often oversold. A few honest caveats:

  • Immutability cuts both ways. Errors written to a blockchain are also permanent. If you send funds to the wrong address, there is no customer support line to call.
  • Public does not mean private. On most blockchains, all transactions are visible to everyone. Pseudonymity is not the same as anonymity.
  • Decentralization exists on a spectrum. In practice, mining power and validator stakes often concentrate in the hands of a relatively small number of actors, which can reintroduce trust assumptions the design was meant to avoid.
  • On-chain data can be accurate without being true. A blockchain faithfully records whatever it was told. If someone inputs false information, the record of that false information is now immutable. This is the oracle problem.

Key Takeaways

  • A blockchain is a database shared across many computers, where records are grouped into blocks that are permanently linked together in order.
  • The chain structure means changing any historical record would break all the links that follow it, making tampering detectable by the entire network.
  • Decentralization removes the need for a central authority — trust comes from the rules and the math, not from a company’s reputation.
  • Public blockchains are open to anyone: anyone can read the history, and anyone can submit transactions that follow the rules.
  • Beyond recording payments, blockchains can store and run programs (smart contracts), enabling a wide range of applications.
  • The technology has real tradeoffs: it is slower and more expensive than centralized databases, and immutability means mistakes are permanent.

Next up: How Does a Blockchain Actually Work?