Borderless payments for Africa. Fast, low-cost cross-border remittance platform powered by Stellar. Instant settlement (3-5 seconds), multi-currency support (NGN, USD, EUR, USDC), encrypted wallets, JWT auth, async queues, fraud detection, and transaction tracking. Built with Next.js, NestJS, PostgreSQL, Redis, and Rust.
# AfroFlow-Stellar
> Borderless payments for Africa. Fast, low-cost cross-border remittance platform powered by Stellar.
---
## Overview
AfroFlow simplifies international money transfers by leveraging the Stellar blockchain:
- **Near-instant settlement** — transactions confirm in 3–5 seconds on Stellar
- **Low fees** — Stellar's base fee model keeps transfer costs minimal
- **Multi-currency** — supports NGN, USD, EUR, and USDC
- **Africa-first** — designed around cross-border remittance corridors
- **Fiat rails** — deposit and withdrawal flows via Stellar anchor network
- **Open source** — community-driven remittance infrastructure
---
## Product Preview
---
## Features
| Area | Feature | Status |
|---|---|---|
| **Authentication** | JWT-based login & registration | ✅ |
| **Wallet** | Stellar wallet generation & key encryption | ✅ |
| **Transfers** | Multi-currency send (XLM, USDC, NGN) | ✅ |
| **Transfers** | Real-time FX rate quotes | ✅ |
| **Transfers** | Transfer simulation (dry-run) | ✅ |
| **Async Settlement** | Redis + BullMQ job queue | ✅ |
| **Stellar Settlement** | Rust worker with Horizon integration | ✅ |
| **Anchors** | SEP-10 and SEP-24 deposit/withdrawal | ✅ |
| **Fraud Prevention** | Risk scoring service | ✅ |
| **Transaction Tracking** | Real-time status & history | ✅ |
| **Audit Logging** | Immutable security event logs | ✅ |
| **Rate Limiting** | API request throttling | ✅ |
| **UI/Dashboard** | Next.js frontend with wallet view | ✅ |
---
## Architecture
AfroFlow is a **polyglot microservices** system:
```
Frontend (Next.js)
↓ REST API
NestJS API Gateway
├── Wallet Service
├── Transaction Service
└── Anchor Service
↓ BullMQ jobs
Rust Settlement Worker
↓ Stellar transactions
Stellar Network (Horizon API)
↓ async scoring
Python Analytics Service (Fraud Detection)
↓ stored in
PostgreSQL + Prisma ORM
```
**Key Services:**
- **Frontend**: Next.js, TypeScript, Zustand state management, Tailwind CSS
- **API**: NestJS, JWT auth …