Beginner Guides

How Does a Blockchain Actually Work? A Simple Explanation

Blocks, hashes, nodes and consensus explained simply. Understand how a blockchain records transactions and why it is so hard to tamper with.

Chain of connected digital blocks each containing transaction records
Each block points to the one before it, forming a chain that is very hard to rewrite.

"Blockchain" is one of the most repeated words in tech, yet many explanations either oversimplify it or bury it in jargon. This guide builds up the idea step by step, using everyday comparisons, so you understand what is actually happening when a crypto transaction is "confirmed".

Start with a shared notebook

Imagine a group of friends who lend each other money. Instead of one person keeping the records, everyone keeps an identical notebook. Whenever someone pays someone else, the payment is announced to the group and everyone writes it down. If one person tries to change their notebook later, it won't match everyone else's, and the group will reject it.

A blockchain is a digital version of that shared notebook — a distributed ledger — kept by thousands of computers around the world.

Blocks: pages in the notebook

Transactions are not added one at a time. They are grouped into blocks, like pages. Each block contains:

  • A list of recent transactions.
  • A timestamp.
  • A unique fingerprint of the block's contents, called a hash.
  • The hash of the previous block.

That last item is what turns separate blocks into a chain.

Hashes: tamper-evident fingerprints

A hash function takes any data and produces a fixed-length string of characters. Change even a single letter of the input and the output changes completely. Because each block includes the previous block's hash, altering an old transaction would change that block's hash, which would break the link to the next block, and the next, all the way to the present.

To successfully rewrite history, an attacker would need to redo all of that work and convince the majority of the network to accept their version — which is designed to be impractically expensive on large blockchains.

Nodes: the people keeping copies

The computers that store the blockchain and check the rules are called nodes. Anyone can typically run a node on public blockchains. Nodes independently verify that every transaction follows the rules — for example, that you are not spending coins you don't have — and reject anything invalid.

Consensus: agreeing on the next page

If thousands of computers can propose new blocks, how does the network agree on which one comes next? Through a consensus mechanism. The two most common are:

Proof of work

Used by Bitcoin. Miners compete to solve a computational puzzle; the winner adds the next block and earns a reward. The energy and hardware required make attacks costly.

Proof of stake

Used by Ethereum and many newer chains. Validators lock up tokens as collateral and are selected to propose and attest to blocks. Dishonest behaviour can lead to losing part of that stake. We explain the reward side in our staking guide.

What happens when you send crypto

  1. Your wallet creates a transaction and signs it with your private key, proving you own the funds.
  2. The transaction is broadcast to the network and waits in a pool of pending transactions.
  3. A miner or validator includes it in a new block, usually prioritising transactions that pay higher fees.
  4. The block is added to the chain and shared with all nodes.
  5. As more blocks are added on top, the transaction becomes increasingly difficult to reverse. These are called confirmations.

Smart contracts: programs on the blockchain

Some blockchains, like Ethereum, can run smart contracts — programs that execute automatically when conditions are met. They power decentralised exchanges, lending apps, NFTs and games. Smart contracts are powerful, but if their code has a bug, attackers can exploit it, and fixing problems after deployment can be difficult.

Public vs private blockchains

Public blockchains like Bitcoin and Ethereum are open for anyone to use and verify. Private or permissioned blockchains restrict who can participate and are sometimes used by businesses for internal record-keeping. When people talk about cryptocurrency, they usually mean public blockchains.

Strengths and limitations

StrengthsLimitations
Hard to tamper withMistakes are hard to undo
Transparent and publicly verifiableTransactions are public (pseudonymous, not anonymous)
No single point of controlCan be slower or costlier than centralised systems
Runs 24/7 globallyGarbage in, garbage out — a blockchain can't verify real-world facts by itself

Key takeaway

A blockchain is a shared record book, organised into linked blocks, kept honest by thousands of independent computers and a consensus mechanism. That design makes the history very hard to change — which is exactly why protecting your keys and double-checking addresses matters so much. Continue with our guide to hot and cold wallets to see how you actually hold crypto.

Educational content only. This article is for general information and is not financial, investment, tax or legal advice. Crypto assets are highly volatile and you can lose money. Always do your own research and never share your seed phrase or private keys. Read our full disclaimer.