Back to blog

BASICS

What a Block Is, and How It Becomes a Blockchain

Blockchain isn't magic, and it isn't some database from the future. It's a chain of packets, and each one holds a fingerprint of the one before it. Try to break it — you'll see exactly why it holds.

Blockchain gets explained terribly, because it gets explained with words like "distributed immutable ledger." That's technically true, but it tells nobody anything. Let's try it differently: it's a notebook you're only ever allowed to add pages to — and every new page carries a fingerprint of the one before it. If someone rewrites page five, the fingerprints on every page after it stop matching. That's the whole trick.

A Block Is a Page in That Notebook

A block is a bundle of transactions the network processed at roughly the same moment. Alongside the transactions themselves, it carries a few extra bits: a timestamp, a sequence number, a nonceA number that means nothing on its own. It only exists so it can be nudged around until the block's hash looks the way the network demands. and, most importantly, the fingerprint of the previous block. That last item is what turns a pile of blocks into a chain.

That fingerprint is called a hash. It's the result of a mathematical function that turns an input of any length into a fixed-length string. It has three properties, and together they're the entire security model:

  • The same input always gives the same output. Anyone can recompute it and check it themselves.
  • Changing a single character scrambles the whole hash. Not a little — completely. There's no way to tell how close you were.
  • It doesn't go backward. You can't compute the original data from the hash — only guess inputs until one happens to match.

Try to Break It

Here's a small chain of three blocks. Each one holds the hash of the one before it. Rewrite the data in the first block and watch what happens to the rest:

Block chain a valid hash must start with 000
Block #1
Previous fingerprint This block's fingerprint
Block #2
Previous fingerprint This block's fingerprint
Block #3
Previous fingerprint This block's fingerprint

Mine all three blocks in order, then try rewriting the data in the first one.

Once you've got all three showing green, change a single digit in the first block. The second and third blocks instantly turn red — their stored "previous fingerprint" no longer matches what actually comes out. You can't rewrite history without rewriting everything that follows it too.

What's the Point of That Dumb Hunt for Zeros?

The "mine" button doesn't do anything clever. It bumps the nonce by one, recomputes the hash, checks whether it starts with zeros, and if not, keeps going. A million times, a billion times. But this exact bit of nonsense is what holds the whole network together: finding the right nonce costs energy and time, but anyone can verify it in a microsecond.

Anyone wanting to rewrite an old transaction would have to re-mine its block and every block after it — faster than the rest of the world is building the chain forward. On large networks that's not forbidden, just absurdly expensive. And being economically pointless is a safer guarantee than being banned.

Our chain is a toy Here it's enough for the hash to start with three zeros — a few thousand tries. Bitcoin today demands something like twenty zeros, and the whole network works on it for ten minutes. The difference is only in how many zeros you're hunting for.

Why It's Called "Decentralized"

No single server holds that notebook. Thousands of independent computers hold it, each with a full copy, each verifying every new block itself. When one starts lying, its hashes simply stop matching for everyone else, and its version gets thrown out. Nobody has to trust anybody — the check is mathematical, not institutional.

And that leads to the thing that matters most to us: every transaction is public. There are no names attached, but there are addresses — and an address that repeatedly bets big money on specific markets is a trail you can follow. That's exactly where PolyTips tips come from.

Not Every Chain Mines the Same Way

Mining with zeros (proof of workThe right to add a block goes to whoever proves they did the work — found a nonce that satisfies the target condition. Secure, but energy-hungry.) is just one option, and historically the first. Ethereum and Polygon both run on proof of stakeA validator is chosen to propose the block based on how many of their own coins they've staked in the network. If they try to cheat, they lose the stake. today, where people vouch with their own money instead of energy. The principle of the chain, the hashes, and the immutability stays exactly the same — only the method for picking who writes the next page changes.

What to Take Away

  • A block = a bundle of transactions + the fingerprint of the previous block. That fingerprint is what turns blocks into a chain.
  • Changing a single character scrambles the whole hash. That's why history can't be quietly edited.
  • Mining is a brute-force hunt for a nonce — expensive to find, cheap to verify.
  • Every node holds a copy of the notebook. Whoever lies gets their version rejected by everyone else.
  • Everything is public. A big player's address is a trail that's easy to follow.

One last piece of the puzzle remains: what happens to your transaction between the moment you sign it and the moment it lands in one of those blocks.