rwadurian/backend/services/trading-service/src
hailin 19428a8cb7 feat(trading-service): sync trading account creation with wallet service
- 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>
2026-01-15 04:27:14 -08:00
..
api fix(trading-service): make health endpoints public 2026-01-14 07:28:24 -08:00
application feat(trading-service): add burn system, Kafka events, and idempotency 2026-01-14 07:15:41 -08:00
domain feat(trading-service): add burn system, Kafka events, and idempotency 2026-01-14 07:15:41 -08:00
infrastructure feat(trading-service): sync trading account creation with wallet service 2026-01-15 04:27:14 -08:00
shared feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
app.module.ts feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
main.ts refactor(api): 升级 trading-service API 前缀至 v2 2026-01-11 22:37:17 -08:00