An iGaming platform is a financial system with regulation — not “a site with games”. Core: wallet/ledger, integrations, risk, compliance.

Core domains
- Player account & KYC
- Wallet / ledger (double-entry)
- Casino aggregator + sportsbook feed
- Bonus & CRM
- Affiliate & reporting
Integration layer
Adapter per provider. Unified bet/settle API inward.
Non-functional
- Latency for live betting
- Immutable audit trail
- Geo / license restrictions

Checklist
- Bounded contexts documented
- Event bus for bet lifecycle
- Separate payment scope
Starting decomposition
- Map bounded contexts: wallet, games, KYC, bonus
- Build one provider adapter as a template
- One bet lifecycle flow over the event bus
- Reporting on replica, not OLTP wallet
