Lesson 2 — How blockchain works, without jargon

Lesson 2 of 10 · 4 min

What a blockchain is, why it is called a «chain of blocks», who maintains it and why it is so hard to change the past. Simple explanation with a practical example.

A blockchain is a digital ledger, copied by thousands of computers, in which transactions are grouped into blocks and each block is linked to the previous one. Since everyone has the same copy and each block "seals" the previous one, changing an old record is practically impossible. In this lesson you will understand how it works, step by step.

A shared notebook

Imagine a class that keeps the school's bar accounts in a notebook. If only the treasurer has the notebook, everyone has to trust him. Now imagine that every student has an identical copy, that all new lines are announced out loud and that no one accepts a line that does not match what is already written. If someone tries to cross out an old line, their copy no longer matches the others and is ignored.

A blockchain is this idea, taken to the internet and reinforced with mathematics.

Blocks and chain

Transactions do not enter one by one. They are grouped into blocks. Each block contains:

  • a list of transactions;
  • the approximate time it was created;
  • a "digital fingerprint" of the previous block, called hash.

The hash is the result of a mathematical function: change a comma in the data and the result changes completely. Since each block stores the hash of the previous one, the blocks are chained. To change an old transaction you would have to redo that block and all the following ones, faster than the rest of the network continues to add new blocks.

Who adds the blocks?

Someone has to decide what the next block is. Blockchains use a consensus mechanism for that. The two best known are:

  1. Proof of work: used by Bitcoin. Specialized computers (miners) compete to solve a difficult mathematical problem. Whoever solves it first proposes the block and receives a reward. Solving is expensive (consumes electricity); verifying is easy.
  2. Proof of stake: used by Ethereum since 2022. Those who want to validate blocks lock coins as collateral. If they cheat, they lose part of that collateral.

In both cases, the idea is the same: make fraud more expensive than playing by the rules. To see mining with numbers, the article How does Bitcoin mining work? explains the method with examples.

Nodes: the copies of the book

The computers that keep a complete copy and verify all the rules are called nodes. Anyone can run a node. They are the ones that reject invalid transactions, such as spending the same coin twice. That is why it is said that the network "does not need trust": each node confirms everything for itself.

Practical example: follow a transaction

The best way to understand is to see a real transaction. Each transaction has a unique identifier (TXID), a long sequence of letters and numbers. When someone sends you crypto, they usually share that identifier with you.

Try it on the Transaction checker: paste a TXID and you will see which block it entered, how many confirmations it has and what fee was paid. Each new block after that counts as one more confirmation; the more confirmations, the harder it is to reverse the payment. It is also the way to see the "shared notebook" working without having to install anything.

Public, but not with your name

On a public blockchain, anyone can see that address A sent an amount to address B. Your name does not appear, but if an address becomes associated with you (for example, because you shared it or because an exchange has your data), the history can then be linked to you. That is why it is said to be pseudonymous, not anonymous. The article Private key, public key and address shows what you can and cannot share.

A brief history

The first blockchain was Bitcoin's, which started working in January 2009. Then many others came, with different goals: Ethereum, for example, allows running programs ("smart contracts") on top of the blockchain. You can go through the main moments on the Bitcoin timeline.

Limitations worth knowing

  • Speed and cost: since many computers have to agree, a blockchain is slower and sometimes more expensive than a bank's database.
  • Errors are final: if you send to the wrong address, there is no "cancel".
  • Garbage in, garbage out: the blockchain guarantees that the record has not been altered, it does not guarantee that the project behind it is honest.

If you want an even simpler version to explain to someone, ask the Explain like I'm 5 tool to explain "blockchain".

Summary

  • A blockchain is a shared ledger, organized in blocks linked by hashes.
  • A consensus mechanism (work or stake) decides who adds the next block.
  • Nodes verify all the rules, so no one needs to trust an intermediary.
  • Transactions are public and, once confirmed, practically irreversible.

In the next lesson you will get to know Bitcoin in detail: how it was born, why it is limited and what the halving is.

Frequently asked questions

Can a blockchain be hacked?

Changing the history of a large blockchain like Bitcoin's would require controlling the majority of mining power, which is extremely expensive. The most common attacks target people, wallets and exchanges, not the blockchain itself.

What is a confirmation?

It is each block added after the block that contains your transaction. More confirmations mean it is harder to reverse the payment.

Do all cryptocurrencies have their own blockchain?

No. Many tokens exist on top of another blockchain, such as Ethereum, and use the security of that network.

Practise with the tools

  • Check a transaction — Look up a Bitcoin txid on mempool.space or an Ethereum hash on Blockscout and see whether it is confirmed, plus the value and fee when the source provides them.
  • Bitcoin timeline — The landmark moments, lined up with that day's real price.
  • Explain like I'm five — Type a term, a news item or a chart and get a plain-language explanation, with pros, cons and risks.

Read next

Sources

Educational content. Not financial advice or a recommendation to buy or sell.