How a blockchain works, explained simply
Last updated · Jump to the quiz
A blockchain is a shared record book. Instead of one bank keeping the official list of who paid whom, thousands of computers around the world each keep their own identical copy and check every new entry for themselves.
Three ideas make it work: transactions are grouped into blocks, each block gets a fingerprint (a hash), and each block includes the fingerprint of the one before it, which forms the chain.
1. Transactions go into blocks
When you send crypto, your wallet signs a message with your private key that says, in effect, “move this amount from my address to that one.” That signed message is a transaction.
Transactions are collected into batches called blocks. On Bitcoin a new block is added about every 10 minutes. On Litecoin it’s about every 2.5 minutes, and on Ethereum every 12 seconds.
2. Every block gets a fingerprint
A hash is a fingerprint for data. You feed in anything, a word or a whole block of transactions, and a hash function such as SHA-256 returns a fixed-length string. SHA-256 turns the word hello into:
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
Three properties matter:
- Same input, same fingerprint. Anyone can recompute it and check.
- Change one character and the fingerprint changes completely. There’s no way to make a “small” edit.
- You can’t work backwards. The fingerprint reveals nothing about the data, and you can’t design data to produce a fingerprint you want. You can only keep guessing.
3. Each block points at the one before
Every block stores the fingerprint of the previous block. So block 500 contains block 499’s fingerprint, which depends on block 499’s contents, which includes block 498’s fingerprint, and so on back to the very first block.
That’s the chain. If someone changes an old transaction, that block’s fingerprint changes, the next block no longer matches, and everything after it breaks.
Try to change history
Four blocks each store some data, the previous block's fingerprint and a nonce. Change the data in block 2 and its fingerprint changes, so blocks 2, 3 and 4 all become invalid. To fix the chain you'd have to re-mine block 2 and every block after it, in order.
Why not just re-mine the blocks?
In the demo, re-mining takes a fraction of a second because a valid fingerprint only needs to start with three zeros. On Bitcoin it needs about 19 to 20 leading zeros, and finding one takes the entire worldwide mining network about 10 minutes. Rewriting even one old block means redoing that block and every block after it, faster than the rest of the world keeps adding new ones.
This is called proof of work. Other blockchains, like Ethereum, use proof of stake instead. Either way, the goal is the same: make rewriting history far more expensive than it could ever be worth. How blocks get verified explains the process step by step.
What this means for you
- Blockchains are public. Anyone can look up an address on a block explorer and see every transaction it ever made. Addresses aren’t names, but once someone links your address to you, your history is visible.
- Your coins aren’t “in” your wallet. They’re recorded on the blockchain. Your wallet holds the keys that let you move them.
- On the blockchain doesn’t mean legitimate. Anyone can create a token in minutes. A blockchain records what happened. It doesn’t vouch for anyone.
Common questions
How can I look up blockchain information for a transaction?
Use a block explorer: a website that shows every transaction on a blockchain. Paste in an address or transaction ID to see its details. A block explorer is read-only. It never needs you to connect your wallet or enter your seed phrase, and any "explorer" that asks is a scam.
Did it stick? 3 questions
What links one block to the next?
Each block stores its predecessor's fingerprint.
You change one letter in an old block. What happens to its hash?
Any change gives a completely different hash.
Can a company reverse a confirmed crypto transaction for a fee?
Confirmed transactions can't be undone.