No history yet

Introduction to Blockchain

What Is a Blockchain?

At its heart, a blockchain is a special kind of digital notebook. Think of it as a ledger that's shared among many people. This ledger is made up of a growing list of records, which are grouped into 'blocks.' Each block is connected to the one before it, forming a chain.

Lesson image

Unlike a regular notebook kept by one person, this digital ledger is distributed across a network of computers. This means everyone on the network has a copy. When a new transaction happens, it gets added to the ledger, and everyone's copy is updated almost instantly. This creates a shared, synchronized source of truth that isn't controlled by any single person or company.

A blockchain is a distributed, immutable ledger. 'Distributed' means it's shared, and 'immutable' means it's nearly impossible to change once something is recorded.

The Power of Decentralization

Most systems we use today are centralized. A bank holds all the records for its customers' accounts. A social media company stores all user data on its servers. If that central server fails or is compromised, the whole system is at risk. A blockchain works differently because it's decentralized.

In a decentralized network, there's no single point of failure. If one computer shuts down, the network keeps running because thousands of others are still active. This structure also makes the system incredibly transparent and resilient to censorship. Because everyone holds a copy of the ledger, it's difficult for any single party to secretly alter records or prevent new ones from being added.

Keeping It Secure with Hashing

So, what keeps the chain of blocks secure? The answer is cryptography, specifically a process called hashing.

A hash is like a unique digital fingerprint for data. You can feed any amount of data—a single word or an entire book—into a hash function, and it will produce a unique, fixed-length string of characters. If you change even one tiny detail in the original data, the hash will change completely.

This is a sentence. -> Hash: a1b2c3d4... This is a sentencf. -> Hash: e5f6g7h8...

Each block in a blockchain contains the data for that block and the hash of the block that came before it. This is what links the blocks together into a secure chain. If someone tried to alter the data in an old block, its hash would change. This would break the link to the next block, because the next block would still be pointing to the original hash. To successfully alter one block, an attacker would have to recalculate the hashes for every single block that came after it, all across the network, which is practically impossible.

This interlocking structure makes the blockchain 'immutable'—once data is added, it cannot be effectively changed or removed. It creates a permanent, trustworthy record.

Agreeing on the Truth

Since the blockchain is maintained by a decentralized network of participants, there needs to be a way for them to agree on its current state. How does everyone decide which new block of transactions is the valid one to add to the chain?

This is achieved through a 'consensus mechanism.' It's a set of rules that governs the network and allows participants to reach an agreement without needing a central authority to make the decision. To add a new block, a participant must prove they've followed the rules. Once they do, they can broadcast the new block to the network. Other participants then verify that the block is valid and add it to their copy of the chain.

At its most basic level, a blockchain is a digital ledger maintained by a decentralized network of computers.

This process ensures that everyone agrees on a single version of history. It prevents fraudulent transactions and makes the network incredibly robust and secure. The combination of decentralization, cryptographic hashing, and a consensus mechanism is what gives blockchain technology its unique power to create a shared, tamper-resistant record of information.

Ready to test your knowledge? Let's see what you've learned.

Quiz Questions 1/5

What is the primary characteristic of a blockchain?

Quiz Questions 2/5

What is the role of a hash in a blockchain block?

We've covered the core building blocks of this technology. These foundational ideas are the key to understanding its potential.