Phase 4: Integration

Goal

Integrate all services: event bus (NATS), webhooks, and Admin Panel compatibility.

Duration: Week 6
Status: See Migration Overview and Progress.


Tasks

# Task Owner Done
1 Event bus (NATS) for cross-service events
2 Webhook delivery for external consumers
3 Admin Panel API compatibility
4 (Optional) Shadow mode / dual-run with Node

Flow: Events and webhooks

flowchart LR
  A[Wallet / Payment] --> B[NATS]
  B --> C[Gateway / Bot]
  B --> D[Webhook Worker]
  D --> E[External URLs]
  A --> F[Outbox]
  F --> D

Deliverable

  • Services publish domain events to NATS; subscribers (Gateway, Bot, workers) consume them.
  • Webhooks are delivered for deposits, withdrawals, and other configurable events.
  • Admin Panel can use the same Gateway/API as the Mini App where applicable.

© 2025 GitiNext - Enterprise Crypto Infrastructure | GitHub | Website