Integrations Module¶
Overview¶
Integration-Only Architecture: Saga не управляет криптовалютными активами напрямую. Вместо этого используются enterprise-провайдеры.
Core Integrations¶
Crypto2B (Deposits)¶
- Генерация депозитных адресов (TRC20/ERC20)
- Webhook уведомления о поступлениях
- Balance queries через REST API
Fordefi (Withdrawals & Custody)¶
- MPC (Multi-Party Computation) wallet technology
- Enterprise-grade custody
- Multi-sig approval для withdrawals
- DeFi protocol interactions
Architecture¶
flowchart LR
A[User] --> B[Saga Backend]
B --> C[Crypto2B API]
B --> D[Fordefi API]
C --> E[Deposit Processing]
D --> F[Withdrawal/DeFi]
style C fill:#FFD700
style D fill:#90EE90
Key Files¶
backend/
├── crypto2b/
│ ├── service.go # Crypto2B API client
│ └── webhook_handler.go # Deposit webhooks
└── fordefi/
├── client.go # Fordefi API client
└── withdrawal_service.go # Withdrawal processing
Related Documentation¶
Metadata¶
Updated: January 2026
Status: Published