- Add CDC consumer to listen for UserWalletCreated events from mining-wallet-service - Create trading accounts when user contribution wallets are created (lazy creation) - Add WalletSystemAccountCreated handler for province/city system accounts - Add seed script for core system accounts (HQ, operation, cost, pool) - Keep auth.user.registered listener for V2 new user registration This ensures trading accounts are created in sync with wallet accounts, supporting both V2 new users and V1 migrated users. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| migrations | ||
| schema.prisma | ||
| seed.ts | ||