Programming & Software course

How Bitcoin Works Under the Hood

Explain the technical mechanics of Bitcoin, from transaction scripts and cryptographic signatures to consensus rules and mining economics.

20 lessonsabout 2 hours in allIntermediateFree

Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
  • You can trace payments from earlier outputs through scripts, signatures, change, fees, and new outputs. you can explain hashing, merkle proofs, consensus, mining, forks, custody models, and pseudonymity in technical terms
  • You can reason about confirmation security, mining incentives, multisignature escrow, cold storage, and the risks of custodial services

What you'll learn, lesson by lesson

  1. 1Three Properties of a Secure HashExplain why finding two inputs with the same 256-bit hash takes about 2^128 tries.
  2. 2Merkle Trees and Short ProofsBuild a Merkle tree for four transactions and name the root.
  3. 3How Signatures Prove OwnershipDescribe key generation, signing and verifying, and what each step needs as input.
  4. That's a preview. 17 more lessons follow.

    Take all 20 lessons free in the Milo app, with Milo teaching each one.

    Start this course free
  5. 4From One Trusted Publisher to Many
  6. 5Agreement Without Knowing Who Anyone Is
  7. 6The Odds Behind Waiting for Confirmations
  8. 7Difficulty, Rewards and the 21 Million Cap
  9. 8Inputs, Outputs and Change
  10. 9Running a Script on a Stack
  11. 10Escrow, Time Locks and Paying to a Script
  12. 11Inside a Block and How It Spreads
  13. 12Soft Forks and Hard Forks
  14. 13Cold Storage That Can Still Receive
  15. 14Splitting a Key So No One Holds It
  16. 15When a Service Holds Your Coins
  17. 16Fees and Merchant Payment Services
  18. 17From Home Computers to Mining Chips
  19. 18Energy and the Mining Profit Sum
  20. 19Pool Payouts and Strategic Mining
  21. 20How Addresses Get Linked to People
Inside the app

Not a video. A tutor who teaches you.

Milo explains each idea of How Bitcoin Works Under the Hood out loud and on the blackboard, checks you understood, and coaches you when you slip. Lessons take 5 to 10 minutes.

Start free
A Milo lesson: Milo explains an idea and draws it on the blackboard
A quick check in a Milo lesson, answered correctly, with Milo's explanation

More in Programming & Software

Free to learn

This course is free. So is Milo's help planning it.

Every course in Milo's library, your growth plan and Milo's weekly check-ins cost nothing. Members, from $5 a month, also get lessons written just for them.

Can I really start for free?
Yes. No card needed.
Can I cancel a membership any time?
Yes, from your account. You keep it until the end of the month you paid for.
Where does it work?
In any browser on a phone, tablet or computer. Phone apps are on the way.