1. Architecture 🏗️#
Frontend#
Purpose: Provide an intuitive interface for sending tokens, tracking transactions, and receiving cash confirmations.
Real-time exchange rate display
Transaction status tracking
Backend (API)#
Purpose: Process transactions, validate blockchain transfers, and trigger cash payments.
Authentication & KYC (User, Wallet Address, ID Verification)
Exchange rate calculation
Payment gateway integration (Mobile Money, Bank)
Blockchain Layer#
Network: Starknet (Layer 2 Ethereum)
Smart Contracts: Written in Cairo
Purpose: Detect incoming token transfers and validate confirmations.
Starknet.js for dApp ↔ Smart Contract connection
Webhooks to notify backend of new transfers
Optional: Smart contract escrow for secure trades
Payment Layer#
Mobile Money: M-Pesa, MTN Money, Orange Money, Airtel Money
Database#
Storage: PostgreSQL / MongoDB
Users (profile, KYC status)
Transactions (token amount, fiat value, status)
Modified at 2025-08-27 13:13:10