3.7k
Application code
lines
platform · 2025 · client unnamed
Mobile-first investing: complete identity verification, get approved, put money into managed funds with a stated return, and watch profit accrue into an in-app wallet.
3.7k
Application code
lines
Gated
Verification
approval before money moves
The problem
An investment business wanted retail customers to be able to put money into managed funds from a phone. That means identity verification with a human approval step, a wallet tracking contributions and accrued profit separately, and enough rigour that an amount is never wrong.
The approach
Built the verification and approval flow as an explicit gate, so no money moves before an admin has approved an identity. Funds carry a stated return percentage, investments accrue profit into a wallet, and every balance movement is a ledger entry rather than a field being edited.
Architecture
Verification approval gates every money path. Wallet balances are derived from ledger entries, so a balance can always be recomputed from its history.
Each with what it cost
A decision without a stated tradeoff is a preference.
01
Why
A balance you can edit is a balance you cannot audit. Deriving it from an append-only history means any discrepancy has a traceable cause.
What it costs
More writes and a computed read, in exchange for being able to answer where a number came from.
Outcome
A complete retail investment flow from identity verification to profit accrual, with money handling that can be reconciled rather than trusted.