paint-brush
Explaining Blockchain in 550 Wordsby@jaleltounsi
1,913 reads
1,913 reads

Explaining Blockchain in 550 Words

by Jalel TounsiOctober 6th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A blockchain is a growing list of records, called blocks, that are linked together using cryptography. It's also described as a "trustless and fully decentralized peer-to-peer immutable data storage" that is spread over a network of participants often referred to as nodes. Each block contains a cryptographic hash of the previous block, a timestamp, and transaction data (generally represented as a Merkle tree). The timestamp proves that the transaction data existed when the block was published in order to get into its hash

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Explaining Blockchain in 550 Words
Jalel Tounsi HackerNoon profile picture

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.


Also published on: https://www.linkedin.com/pulse/tldr-blockchain-transactions-jalel-tounsi