What even is a blockchain?

posted 3 min read

What even is a blockchain?

A blockchain is a distributed, digital, immutable ledger that is used to record transactions and store data in a secure and transparent manner. It is based on a decentralized network of nodes that collectively maintain a single source of truth, allowing participants to interact with the system without the need for intermediaries.

A block is a container data structure that aggregates transactions for inclusion in the public ledger, the Blockchain. Each block in the chain contains a set of transactions that have been verified and recorded by the network of nodes through a process known as consensus. Once a block is added to the chain, it cannot be altered or deleted, creating an immutable record of all transactions on the network.

Blockchains were popularized by the anonymous person (or group) Satoshi Nakamoto, when they released the Bitcoin Network in 2009. Bitcoin is a cryptocurrency network, and it handles primarily the transfer of the BTC asset across the network, without a trusted middleman or authority, while ensuring the network itself is secure and cannot be hacked. (P.S. The bitcoin network is also likely the biggest bug bounty in the world - if you can hack it, you're an instant trillionaire).

Over time, this design of Bitcoin inspired other, more capable, blockchain networks to come out, like Ethereum. We will be learning a lot about Ethereum in the coming sessions.

State Management

State Management

Blockchains start off with a Genesis State when they launch. Bitcoin's genesis state happened in 2009 when the public network launched. Ethereum's Genesis State happened in 2015, when it launched.

Every transaction on a blockchain modifies the global state that is replicated across all nodes.

Since there are millions of transactions, transactions get grouped together in blocks, hence the name - Blockchain. These blocks are chained together in a cryptographically verifiable way so they are historically traceable. The current state of a network can be recalculated at any time by starting from the genesis block and transitioning the state according to each block's information up until now.

Nodes

A blockchain network is managed autonomously through a peer-to-peer distributed network of computer nodes. Without going into too much detail, you can simply think of each node in the network as keeping a copy of the global transaction ledger. Therefore, each node can individually verify and audit transactions happening on the network and ensure there was no illicit behavior.

Another type of node, called a mining node, is responsible for grouping together new transactions being made on a network into a block, verifying them, and proposing the block to be included onto the global ledger by everyone else. Mining is computationally hard, and very important to do securely, so miners whose blocks get accepted are given a token reward for their hard work.

The use of a blockchain confirms that each unit of value was transferred only once, and the ingenious mechanisms put forth by Satoshi Nakamoto solved the long-standing decentralized double-spending problem.

Decentralization

By storing data in a peer to peer network of nodes, the blockchain is a decentralized network. This has significant benefits over the traditional approach of storing data in a centralized manner. There are significant examples of problems with centralization - a few of which we will list here:

  • Data breaches in centralized systems expose a lot of data.

  • Centralized authorities can censor and shut down speech.

  • Reliance on a central authority means upstream problems affect downstream consumers (e.g. AWS going down means most of the internet goes down with it)

On the other hand, decentralization brings about the opposite benefits.

  • No censorship as there is no single authority or middleman that can censor you.

  • No downtime as the overall network is running across 1000's of nodes across the globe.

  • Highly attack resistant making it infeasible to manipulate or destroy data

Use Cases

  • Cryptocurrency

  • Smart Contracts

  • Decentralized Finance

  • Gaming

  • Supply Chain Tracking

  • Counterfeiting Protection

  • Data Privacy

  • Decentralized Governance

  • Verifiable ownership of assets

and many more...

If you read this far, tweet to the author to show them you care. Tweet a Thanks

Even eCommerce applications, Bank system or any other app\web that include its own payment method, should use Blockchain to secure the transactions and protect the data of their users.

You are right, there are so many use cases in the world!

Great article—thanks for making blockchain concepts so easy to understand! I’m curious, with all the benefits of decentralization you mentioned, what do you think are the main hurdles slowing down wider blockchain adoption?

I think one of the main hurdles is misunderstanding of blockchain among people.

More Posts

What is Web3?

Michael Liang - Jun 18

Blockchain File Storage---What is IPFS and Types of web3 Storage

abiEncode - Jul 14

What is a REST API? A Simple Introduction for Beginners

Anadudev - Feb 7

REST API - A Refresher

Methodox - Jun 2

What are Price Oracle Manipulation Attacks in Blockchain contracts and EVM???

abiEncode - Jul 5
chevron_left