Crypto and DeFi: how it works and what can go wrong · Part 28 of 30

How blockchains, Bitcoin and Ethereum work

Expert 20 min

Blocks, hashes, proof of work and proof of stake, Bitcoin's fixed supply and halvings, Ethereum smart contracts and what 'custody' means.

What you will learn

  • You can explain how blocks, hashes and consensus make a shared ledger tamper-resistant.
  • You can compare proof of work and proof of stake.
  • You can explain self-custody versus custody on an exchange and the risks of each.

Before this: Investing basics: risk, diversification and index funds

A shared ledger without a central bookkeeper

A blockchain is a ledger — a list of transactions — that many computers keep in copies and agree on. Transactions are grouped into blocks. Each block contains the hash (a digital fingerprint) of the previous block, so the blocks form a chain: changing an old transaction would change its block's hash and break every later link. The difficult part is agreeing on which new block comes next without a central authority — that is the consensus mechanism.

A chain of linked glass blocks with pages inside and many computers holding copies

Bitcoin and proof of work

Bitcoin was described in a 2008 paper by the pseudonymous Satoshi Nakamoto and launched in January 2009. In proof of work, "miners" compete to find a number that gives the new block a hash below a target; this takes enormous computing power, and the winner earns newly created bitcoin plus fees. Rewriting history would require out-computing the rest of the network.

Key properties:

  • Fixed supply: at most 21 million bitcoin. The new-coin reward halves every 210,000 blocks (about four years); the fourth halving, in April 2024, cut it to 3.125 BTC per block.
  • Pseudonymous: addresses are not names, but every transaction is public forever — chain analysis firms and authorities trace flows routinely.
  • Energy use: proof of work consumes a lot of electricity by design; estimates are in the range of a mid-sized country's consumption.
A chain of blocks, each containing transactions and the previous block's hash
Each block stores the previous block's hash — changing history breaks the chain

Ethereum, smart contracts and proof of stake

Ethereum (launched 2015) added smart contracts: programs stored on the blockchain that run exactly as written when called — the basis for tokens, stablecoins and DeFi. On 15 September 2022 ("the Merge") Ethereum switched to proof of stake: validators lock up ("stake") ether as a deposit and are chosen to propose and confirm blocks; misbehaviour is punished by destroying part of the stake ("slashing"). The Ethereum Foundation estimates the switch cut the network's energy use by about 99.95 %.

Smart contracts are powerful but unforgiving: a bug is executed just as faithfully as correct code, and there is usually no one to reverse a mistaken or stolen transaction.

Keys and custody

Owning crypto means controlling a private key that can sign transactions.

  • Self-custody (your own wallet, seed phrase): nobody can freeze your funds — and nobody can help if you lose the seed phrase or sign a malicious transaction. Never share a seed phrase; no legitimate support desk will ask for it.
  • Custodial (exchange or broker): convenient, but you depend on the platform's solvency and honesty. When FTX collapsed in November 2022, customers' funds turned out to have been misused; its founder was convicted of fraud in 2023 and sentenced to 25 years in 2024. In February 2025, the exchange Bybit lost about 1.5 billion dollars of ether in a hack the FBI attributed to North Korea.

What gives crypto value?

Bitcoin has no cash flows; its price depends entirely on what others will pay — supporters see "digital gold" with a fixed supply, critics a speculative bubble. Many tokens are far more speculative still. Prices have fallen by 70–80 % or more several times in Bitcoin's history, and most of the thousands of tokens ever created have become close to worthless.

Key points

  • A blockchain links blocks by hashes; a consensus mechanism decides the next block.
  • Bitcoin: proof of work, 21 million cap, halvings about every four years (latest April 2024).
  • Ethereum: smart contracts; proof of stake since the Merge on 15 September 2022.
  • Self-custody means total control and total responsibility; custody means platform risk (FTX 2022, Bybit hack 2025).
  • Crypto prices are extremely volatile; many tokens go to near zero.

Flashcards

Question: Why is changing an old block hard?
Answer: Every later block contains the previous block's hash, so the whole chain would have to be redone and accepted by consensus.
Question: What is the maximum supply of bitcoin?
Answer: 21 million.
Question: When did Ethereum switch to proof of stake?
Answer: 15 September 2022 (the Merge).
Question: What risk do you take with custodial crypto?
Answer: That the platform fails, is hacked or misuses your funds.

Check yourself

Think about your answer, then open it. In the app the quiz is interactive, earns points and brings back what you missed.

  1. What is the maximum number of bitcoin (in millions)?

    Show the answer

    21 million

    The protocol caps supply at 21 million.

    Source: Nakamoto 2008

  2. After the April 2024 halving, what is the block reward?

    • 50 BTC
    • 12.5 BTC
    • 6.25 BTC
    • 3.125 BTC
    Show the answer

    3.125 BTC

    It halved from 6.25 to 3.125 BTC.

    Source: Nakamoto 2008

  3. What happened on 15 September 2022?

    • Bitcoin's launch
    • Ethereum switched to proof of stake
    • FTX collapsed
    • MiCA entered into force
    Show the answer

    Ethereum switched to proof of stake

    The Merge moved Ethereum from proof of work to proof of stake.

    Source: ethereum.org, The Merge

  4. Which are true about self-custody?

    • Nobody can freeze your funds
    • A lost seed phrase usually means lost funds
    • Support can reset your seed phrase
    • Signing a malicious transaction can drain the wallet
    Show the answer

    Nobody can freeze your funds; A lost seed phrase usually means lost funds; Signing a malicious transaction can drain the wallet

    Full control means full responsibility; no one can reset a seed phrase.

    Source: ethereum.org, The Merge

Sources

Facts checked on 2026-11-30. Skillgrove lessons are free learning material — no certificate and no accreditation.