Module 5 · Interview Prep: A P2P Wallet and Ledger Lesson 28 of 54

Money Invariants for a Wallet

No money created, exactly once, never below zero, append-only entries, and books that match the bank.

1:46 clip1:00:28–1:02:15 in the full courseWatch on YouTube

Transcript

25 sentences · select one to jump there

Check your understanding

A transfer went to the wrong person and must be fixed. What does the append-only rule require?

Choose one answer

Lesson notes

The rule

Every transfer adds up to zero, and the sum of all wallets equals the money in the bank