NairaSwap is a crypto-powered payment platform that allows users to trade stable coins for naira and purchase services like airtime, data, Netflix, and cable TV subscriptions.
- Stable coin to naira conversion
- Purchase airtime
- Buy data plans
- Subscribe to Netflix
- Pay for cable TV subscriptions
- Clone the repository
- Install dependencies:
npm install - Copy .env.example to .env and configure
- Run development server:
npm run dev
- Frontend: React + Vite
- Backend: Express.js
- Database: SQLite
- Blockchain Integration: Ethers.js
VITE_API_URL: Backend API endpointVITE_STABLE_COIN_CONTRACT: Stable coin smart contract addressVITE_BLOCKCHAIN_NETWORK: Blockchain network identifier
Configured to run on 0.0.0.0:8080 for k8s HTTPRoute access.
- Secure host configuration
- SQLite for transaction tracking
- CORS enabled
- Environment-based configuration