0
0
Blockchain / Solidityprogramming~10 mins

Why blockchain exists - Visual Breakdown

Choose your learning style9 modes available
Concept Flow - Why blockchain exists
Need for trust in transactions
Central authority controls data?
NoRisk of fraud, hacking
Yes
Single point of failure
Idea: Decentralize data
Use blockchain: shared ledger
Immutable, transparent records
Trust without middleman
Goal achieved
This flow shows why blockchain was created: to build trust without a central middleman by using a shared, unchangeable ledger.
Execution Sample
Blockchain / Solidity
transactions = []
for tx in new_transactions:
    if verify(tx):
        transactions.append(tx)
    else:
        reject(tx)
This code simulates adding only verified transactions to a shared list, like blockchain only accepting valid data.
Execution Table
StepTransactionVerification ResultActionLedger State
1tx1TrueAdd to ledger[tx1]
2tx2TrueAdd to ledger[tx1, tx2]
3tx3FalseReject transaction[tx1, tx2]
4tx4TrueAdd to ledger[tx1, tx2, tx4]
Exit--No more transactions[tx1, tx2, tx4]
💡 All new transactions processed; only verified ones added to ledger
Variable Tracker
VariableStartAfter 1After 2After 3After 4Final
transactions[][tx1][tx1, tx2][tx1, tx2][tx1, tx2, tx4][tx1, tx2, tx4]
Key Moments - 3 Insights
Why do we reject some transactions?
Transactions that fail verification are rejected to keep the ledger trustworthy, as shown in step 3 of the execution_table.
Why can't one person control the ledger?
If one person controlled it, they could change records unfairly. Blockchain shares the ledger to avoid this single point of failure, as explained in the concept_flow.
What does 'immutable' mean in blockchain?
Immutable means once a transaction is added, it cannot be changed or deleted, ensuring trust. This is why only verified transactions are appended, never removed.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, what is the ledger state after step 2?
A[tx1, tx2, tx3]
B[tx1]
C[tx1, tx2]
D[]
💡 Hint
Check the 'Ledger State' column at step 2 in the execution_table.
At which step is a transaction rejected?
AStep 3
BStep 1
CStep 4
DNo rejection
💡 Hint
Look for 'Reject transaction' in the 'Action' column of the execution_table.
If all transactions passed verification, what would happen to the ledger?
AIt would contain only the first transaction
BIt would include all transactions
CIt would be empty
DIt would reject all transactions
💡 Hint
Refer to the 'Verification Result' and 'Action' columns in the execution_table.
Concept Snapshot
Why blockchain exists:
- To build trust without a central middleman
- Uses a shared, unchangeable ledger
- Only verified transactions are added
- Prevents fraud and single points of failure
- Enables transparent and secure record keeping
Full Transcript
Blockchain exists because people need a way to trust transactions without relying on a central authority. Central control can lead to fraud or failure. Blockchain solves this by sharing a ledger that everyone can see and verify. Only valid transactions get added, and once added, they cannot be changed. This creates trust through transparency and security without a middleman.