Design a Digital Wallet
hard 45 minLet 50 million people keep money in an app and send it to each other, at 174 transfers a second.
Where it shows up
The same pattern appears across everyday software.
A ledger at a payment company
Stripe's engineering post describes Ledger, an immutable log based on double-entry bookkeeping, and reports five billion events a day.
Books that cannot be edited
Square's engineers describe Books, a service whose balances change only through accounting transactions.
Holds with an end
TigerBeetle's documentation describes two-phase transfers: pending first, then posted, voided or expired.
Transit cards
A card reader may be offline. The gate subtracts on the card, and the ledger learns the entry later.
Game coins and gift cards
Not bank money, but the same shape: issue, spend, refund, expire, and an audit that must add up.
Hotel deposits
A hotel asks for a hold on arrival and takes the final amount on departure. The rest is released.