1/17
Looks like no tags are added yet.
Blockchain is what?
Decentralized, distributed, often public, digital ledger (accounting book, transaction database) consisting of records called blocks that is used to record transactions accross many computers, so that it is impossible to change anything after you put something in it.
Characteristics of blockchain
Immutability and Trust
Changes are impossible after records being added, trust through network, not on one specific intermediary
Transperency with Privacy
Allows for transparent transacions and protecting data through encryption (you see wallet addresses, not real names - pseudonymous)
Decentralized Architecture
Many computers store the same transaction history.
WEB evolution
Web 1.0
Read-only internet (old websites):
static websites
users mostly consume content
Web 2.0
Interactive/social internet,, centralized platforms own the data:
Social media
cloud platforms
Web 3.0
Blockchain-based decentralized internet - users own their own data and digital assets.
peer-to-peer
smart contracts
crypto payments
BLOCKCHAIN TRILEMMA
Blockchain struggles to optimize all 3:
Decentralization - how distributed control is
Security - the network is resistnt to 51% of attacks
Scalability - how many transactions per second
Usually you can strongly optimize only 2.
3 Solutions to trilemma
Private/Consortium blockchains
Restricted participants (like banks maintaining and validating blockchain) - fast and private but less decentralization and trust (no one controls the system, no need to trust the institution)
High-Speed Layer 1
Atomic Performance the entire process happens on one single, ultra-optimized layer. It is fast but needs powerful hardware - can become centralized
L1/L2 Layered Architecture (Modular): Seperates doing from settling:
Layer 2 - batches thousands of small transactions together and sends one summary to L1. Processes transactions. Scalable and secure, more complex
L1 - Handles final, unchangeable settlement. Finalizes them
Three aces of decentralization
Architectural - how many computers run the system
Political - many people/organiations control network together
Logical - does it behave as one system or many independent ones - If I split the system into 2 parts, can both parts still work independently?
distributed (many computers) ≠ decentralized (control/power also spread out)
Finality
Guarantee that the transaction ispermanent and cannot be reversed or changed
4 Key Innovations of bitcoin
Decentralized Peer-to-peer network - allowing secure transactions between participants, Bitcoin is very suitable for transferring large amounts, private keys are almost never stolen (only on centralised websites)
Decentralized transaction verification system - every transaction is verified according to shared set of rules. All nodes in the network independently verify transactions.
Consensus mechanism - mining happens through a consensus mechanism, that decentralizes control that forces participants to cooperate. “Proof of work“. Mining - the process of creating/adding a new block to blockchain. Block (set of transaction records) can be added only by one who first solved the puzzle (miners are solving it) and only once - this is called Proof of Work. Mining requires a substential amount of comuting power (high electricity costs). As a reward miner gets 3.125 BTC (new bitcoins added to the system) and also a tansaction fee.
Public transaction ledger - immutable database. Blockchain stores all transactions permanently. Different transactions are pooled together, to form a block. This block is added on the previously added blocks, forming chain. Once added, data is stored permanently and visible for others.
Private key
ownership proof, super-powerful password
used to sign transactions, control funds
Funds belong here, if you lose, you lose money
Public address
Like IBAN/account number.
Safe to share.
Generated FROM private key.

The consensus mechanism
Mining = solving difficult mathematical puzzle to prevent cheating (like spending bitcoin twice)
BITCOIN TRANSACTION FLOW
Alice buys coffee from Bob.
Alice signs transaction with private key
Transaction sent to network
Nodes verify it
Miners add it to block
Block added to blockchain
51% ATTACK
If someone controlled: more than 50% of network computing power they could theoretically manipulate blockchain.
it became practically impossible due to enormous cost
PROOF OF STAKE
Mining requires enormous energy consumption. → Move to proof of stake contract instead
Instead of electricity: risk their own crypto stake
ETHEREUM
Introduces smart contracts (programs/rules running automatically on blockchain)
Can automate:
transactions
agreements
logic
apps
Enabled Web3 applications
DEFI (DECENTRALIZED FINANCE)
Financial services without banks.
Examples:
decentralized exchanges - trade cryptocurrencies
lending and borrowing
yield farming - many users pool crypto together, system uses this liquidity, and users receive rewards
prediction markets - betting on events or trading
smart contracts replace intermediaries
Smart contracts can contain bugs - hackers use them (problem - smart contract code)
STABLECOINS
Crypto linked to stable asset:
USD
euro
gold
Purpose:
avoid crypto volatility.
Useful for:
payments
countries with inflation
cross-border transactions
WALMART FOOD SUPPLY CHAIN
Problem:
Food traceability across many companies was slow (6–7 days).
Solution:
Shared blockchain ledger where:
farms,
transport companies,
warehouses,
Walmart
all record supply-chain data.
Why blockchain?
Many independent parties need shared trusted records.
Result:
Food source tracing reduced from days to seconds.