Module 05 of 7

Interview Prep: A P2P Wallet and Ledger

10 lessons · 24 min

Start with lesson 26

About this module

Design a peer-to-peer wallet where users send each other money in seconds: a double-entry ledger in one transaction per transfer, idempotency keys, row locks in ID order, pending top-ups and withdrawals, an in-flight account across shards, a hot merchant account, and a nightly match against the bank.