Cross-Border Payment App for Africa enables fast, low-cost money transfers across African countries using the Stellar Network. The platform provides a secure digital wallet, multi-currency support, and instant payments, helping individuals and businesses send and receive money easily while promoting financial inclusion.
# AfriPay — Cross-Border Payment App for Africa
A production-ready cross-border remittance platform built on the **Stellar Network**, enabling fast, secure, and low-cost payments across African countries using USDC stablecoin and XLM.
AfriPay connects senders with registered payout agents who handle local fiat distribution, with the Stellar blockchain managing escrow, fee collection, and settlement. Designed for emerging markets where stablecoin remittance rails can significantly reduce cross-border payment costs.
---
## Overview
AfriPay implements an escrow-based remittance flow on Stellar:
1. A sender creates a remittance by depositing USDC/XLM into escrow via the Stellar network.
2. A registered payout agent handles fiat distribution to the recipient off-chain.
3. The agent confirms payout on-chain via the backend.
4. The platform releases funds to the agent minus a configurable platform fee.
5. Platform fees accumulate and are managed by the admin.
The system is transparent, auditable on Stellar Explorer, and modular enough to extend with Soroban smart contracts.
---
## Key Features
- **Escrow-Based Transfers** — Secure USDC/XLM deposits held until payout confirmation
- **Agent Network** — Registered agents handle fiat distribution off-chain
- **Automated Fee Collection** — Platform fees calculated and accumulated automatically
- **Multi-Status Tracking** — Remittances tracked through Pending, Completed, and Cancelled states
- **Authorization Security** — JWT-based role access control for all operations
- **QR Payment Generator** — Shareable QR codes for wallet addresses
- **Contact List** — Save frequent recipients for quick transfers
- **Fraud Protection** — Rate limiting and transaction velocity checks
- **Event Logging** — All transactions stored in PostgreSQL and linked to Stellar Explorer
- **Cancellation Support** — Senders can cancel pending remittances
- **Multi-Currency UI** — Display estimated values in NGN, GHS, KES, USD
---
## Architectu …