DEV Community

Cover image for Fundamentals of Blockchain
Karlgusta Esimit
Karlgusta Esimit

Posted on

Fundamentals of Blockchain

As a web 3 developer, you need to understand what is Blockchain, how it works and why do we even use it.

What is Blockchain

Imagine you have a really big book with lots of pages. Each page is like a box that can store things. This big book is called a blockchain. When someone wants to put something in the book, they write it on a new page. But here's the special part: once something is written on a page, it can't be changed or erased. It's like writing in pencil on paper, but the pencil marks can't be rubbed out.

So, the blockchain is like a big, safe book that everyone can see and trust. If someone tries to change something in the book, everyone else will know it's different and won't believe it. That's why the blockchain is really important for keeping things safe and fair.

How it works

Imagine the blockchain like a giant puzzle. Each piece of the puzzle is called a "block." Blocks have pictures on them that tell a story about what happened. When someone wants to add something new to the story, they create a new block with a picture that fits with the story so far.

Here's the tricky part: Once a block is added to the puzzle, it can't be changed. That's because each block has a special code on it that connects it to the block before it. If someone tries to change a block, the code won't match, and everyone will know that something is wrong.

So, the blockchain is like a puzzle that's always growing. Everyone can see the puzzle and make sure that the pieces fit together correctly. This makes it a really safe and fair way to keep track of things.

Why do we even use it

Imagine you're playing a game of telephone. You whisper a secret to your friend, who whispers it to the next person, and so on. Sometimes, the secret gets changed or mixed up by the time it reaches the last person.

Blockchain is like a special telephone game where everyone can hear the secret and make sure it's correct. It's like a big book where everyone can write down the secret, and once it's written, it can't be changed. This makes sure that everyone agrees on what the secret is, and it can't be lost or changed.

That's why we use blockchain for things like money and voting. We want to make sure that the money is real and that everyone agrees on who won the election. Blockchain helps us do that by keeping everything safe and fair.

I created an Ultimate Web 3 Roadmap, if you would like to learn more.

Cheers!
Karl

Top comments (0)