Blockchain

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

18 Terms

1
New cards

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.

2
New cards

Characteristics of blockchain

  1. Immutability and Trust

Changes are impossible after records being added, trust through network, not on one specific intermediary

  1. Transperency with Privacy

Allows for transparent transacions and protecting data through encryption (you see wallet addresses, not real names - pseudonymous)

  1. Decentralized Architecture

Many computers store the same transaction history.


3
New cards

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


4
New cards

BLOCKCHAIN TRILEMMA

Blockchain struggles to optimize all 3:

  1. Decentralization - how distributed control is

  2. Security - the network is resistnt to 51% of attacks

  3. Scalability - how many transactions per second

Usually you can strongly optimize only 2.

5
New cards

3 Solutions to trilemma

  1. 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)

  1. 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

  1. 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


6
New cards

Three aces of decentralization

  1. Architectural - how many computers run the system

  2. Political - many people/organiations control network together

  3. 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)


7
New cards

Finality

Guarantee that the transaction ispermanent and cannot be reversed or changed

8
New cards

4 Key Innovations of bitcoin

  1. 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)

  2. Decentralized transaction verification system - every transaction is verified according to shared set of rules. All nodes in the network independently verify transactions.

  3. 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.

  4. 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.


9
New cards

Private key

ownership proof, super-powerful password

used to sign transactions, control funds


Funds belong here, if you lose, you lose money

10
New cards

Public address

Like IBAN/account number.

Safe to share.

Generated FROM private key.

<p>Like IBAN/account number.</p><p>Safe to share.</p><p>Generated FROM private key.</p>
11
New cards

The consensus mechanism

Mining = solving difficult mathematical puzzle to prevent cheating (like spending bitcoin twice)


12
New cards

BITCOIN TRANSACTION FLOW

Alice buys coffee from Bob.

  1. Alice signs transaction with private key

  2. Transaction sent to network

  3. Nodes verify it

  4. Miners add it to block

  5. Block added to blockchain


13
New cards

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

14
New cards

PROOF OF STAKE

Mining requires enormous energy consumption. → Move to proof of stake contract instead

Instead of electricity: risk their own crypto stake

15
New cards

ETHEREUM

Introduces smart contracts (programs/rules running automatically on blockchain)

Can automate:

  • transactions

  • agreements

  • logic

  • apps

Enabled Web3 applications

16
New cards

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)

17
New cards

STABLECOINS

Crypto linked to stable asset:

  • USD

  • euro

  • gold

Purpose:
avoid crypto volatility.

Useful for:

  • payments

  • countries with inflation

  • cross-border transactions


18
New cards

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.