DEV Community

Cover image for Explaining Blockchain in 550 Words
Jalel Tounsi
Jalel Tounsi

Posted on

Explaining Blockchain in 550 Words

Imagine you have a magic book and there are people around the world who also have a copy of this exact magic book; now, everyone can write into that book.

If you write something into the book, it appears in all other copies of the book, around the world, pretty much instantly. Nobody, not even you, can erase what you wrote into that book or what someone else wrote into that book.

That's basically blockchain technology, on which Bitcoin, Ethereum, and all other cryptocurrencies are based.

Bitcoin, for example, uses the magic book to log transactions of the virtual currency "bitcoin". You'd basically write into the magic book "I give Cathy 1 bitcoin". The book then checks through all the entries of any entries of me having bitcoin in the first place and if so, sends the intended 1 to Cathy. Now Cathy has an entry in the magic book and now it knows she has some bitcoin too, so if she tries to send one, the magic book can confirm.

Ethereum goes further, here you can basically write small "self-executing" programs that can't be deleted. So with our book analogy, you could write into the book "I bet 1 ETH with Amy that the weather on May the 2nd is sunny and nice", and include a data link to Google Weather or similar which the program can check.

You pay a small fee to deploy the program. The code then keeps getting executed on thousands of computers worldwide. If it actually rains on May the 2nd, the program sends 1 ETH from you to Amy's wallet.

Since anyone can check the code of the program, Amy doesn't have to trust me, the creator of the program, she can check my code for herself. Also, the program can't be suddenly deleted (so I can't just quit the bet after looking at the forecast on May the 1st).

So Ethereum is basically a giant, coordinated decentralized swarm of individual computers connected to each other on the web where anybody can deploy his mini-programs (called smart contracts) for a small fee.

Now imagine someone asks you how bitcoin or Ethereum or any cryptocurrency transactions work or how blockchain works, you can use this (over) simplified example :

1 - Alice wants to send 1 eth to Bob

2 - Alice uses her digital wallet and provides her public key (address), the transaction amount (1 eth) and Bob’s public key (address).

3 - the transaction is signed with Alice’s private key.

4 - the transaction is sent via a node of the network to a pool of signed transactions.

5 - miners (POW) and validators (POS) pick the transaction and append it to other previously validated transactions still waiting in the pool in order to form a block.

6 - the block is signed cryptographically and added (mined) to the blockchain

7 - the blockchain is updated and all the miners and validators download the new blockchain

8 - Bob receives his 1 eth payment

The blockchain is a distributed database where all the new data is appended to the previously entered data with no possibility of alteration or suppression.

Once something is in the blockchain, it's there forever, that's why blockchain can be used for tracking, supervision, verification, and auditing of data.

Top comments (0)