Celestial Infosoft
Crypto mining simulators

What is a blockchain? A simple explanation with an example

A beginner-friendly explanation of blocks, chains, nodes and consensus, and why a blockchain is hard to alter.

Illustration for the guide: What is a blockchain? A simple explanation with an example
On this page

A blockchain is a shared record that many computers keep in sync. Nobody owns it and nobody can quietly change history.

The pieces

  • Block: a batch of transactions with a timestamp.
  • Chain: each block includes a fingerprint (a hash) of the previous block, linking them together.
  • Nodes: computers that store a copy of the chain and check new blocks.
  • Consensus: the rule nodes use to agree on the next block, for example proof of work (mining) or proof of stake.

Why it is hard to alter

If someone changed an old block, its fingerprint would change, breaking the link to every later block. Honest nodes would reject the altered chain.

A simple example

Imagine a village notebook that everyone copies. When a trade happens, a page is added and every villager adds it to their copy. To cheat, you would need to change most notebooks at the same time.

What it does not guarantee

A blockchain proves that a record was not altered. It does not prove an app, coin or project is honest. Learn how mining works in how Bitcoin mining works, and how coins differ in the basics guide.

Frequently asked questions

Is a blockchain the same as Bitcoin?

No. Bitcoin is a currency that uses a blockchain. A blockchain is the record-keeping technology.

Can a blockchain be hacked?

Large networks are very hard to alter, but wallets, exchanges and apps built around them can still be attacked or scammed.

Does every blockchain use mining?

No. Some use staking or other consensus methods. Ethereum switched to staking in 2022.

More guides on this topic