Instant international payments for Nigerian freelancers โ powered by Stellar and stablecoins.
LancePay enables freelancers to receive payments from global clients in minutes, not days, with fees under 1%. Blockchain complexity is completely abstracted โ users see invoices, balances, and bank withdrawals, nothing else.
A fintech platform that solves the biggest pain point for Nigerian freelancers: receiving international payments quickly and cheaply.
- Traditional payment methods (PayPal, Wise) have high fees (5-10%) and slow settlement (3-7 days)
- Nigerian freelancers lose significant portions of their earnings to fees and exchange rate markups
- Crypto solutions are too complex for non-technical users
- Create invoice โ Get shareable payment link
- Client pays โ Card payment converts to USDC on Stellar
- Instant settlement โ Funds arrive in 3-5 seconds
- Withdraw to bank โ Convert to NGN via Yellow Card, instant bank transfer
- Keep 99%+ of earnings โ Fees under 1%
Zero crypto knowledge required โ users never see wallets, private keys, or blockchain jargon.
- Frontend: Next.js 16 (App Router), React 19, Tailwind CSS v4
- Backend: Next.js API routes, Prisma ORM, PostgreSQL (Neon)
- Authentication: Privy (OAuth + embedded Stellar wallets)
- Blockchain: Stellar Network (USDC stablecoin)
- Payments: MoonPay (on-ramp), Yellow Card (off-ramp to Nigerian banks)
- Email: Resend
- โ 3-5 second settlement with fees <$0.01
- โ Yellow Card integration โ Direct off-ramp to Nigerian banks in 20+ African countries
- โ 475,000+ on/off-ramp access points worldwide
- โ Battle-tested โ Used by MoneyGram, Onafriq, and major African payment providers
- โ Lower costs โ ~$0.75 per wallet (XLM reserves) vs building custom infrastructure
โโโ app/ # Next.js app router (pages & API routes)
โโโ components/ # Reusable UI components
โโโ lib/ # Utilities, configs, and helpers
โโโ hooks/ # Custom React hooks
โโโ prisma/ # Database schema and migrations
โโโ docs/ # Technical documentation
โโโ public/ # Static assets
For contributors and developers:
- CONTRIBUTING.md โ How to contribute to this project
- Code Style Guide โ Code standards and best practices
1. Freelancer creates invoice โ Unique payment link generated
2. Client opens link โ No account needed
3. Client pays via card โ MoonPay converts to USDC on Stellar
4. Payment arrives โ Freelancer's embedded wallet (3-5 seconds)
5. Email notification โ Freelancer sees balance update
6. Freelancer withdraws โ Yellow Card converts USDC โ NGN
7. Funds arrive โ Nigerian bank account (instant)
Client Card Payment
โ
MoonPay (Fiat โ USDC on Stellar)
โ
Freelancer's Stellar Wallet (Privy embedded)
โ
Yellow Card API (USDC โ NGN)
โ
Nigerian Bank Account
Key Benefits:
- Freelancers keep 99%+ of earnings (fees <1%)
- Payments arrive in minutes, not days
- No crypto knowledge required โ just invoices and bank transfers
This project is proprietary. All rights reserved.
Built with โค๏ธ for Nigerian freelancers.
This project uses Vercel Cron Jobs to automate maintenance tasks.
Auto-Cancellation of Overdue Invoices:
Runs daily at 2:00 AM UTC (0 2 * * *). It automatically cancels unpaid invoices that meet the following criteria:
- Status: Pending
- Due Date: More than 90 days ago
- Exclusions: Invoices with active escrow, active disputes, or
doNotAutoCancel: trueare never auto-cancelled.
To manually test the auto-cancellation cron locally, run:
curl -H "Authorization: Bearer YOUR_CRON_SECRET" http://localhost:3000/api/cron/cancel-overdue-invoices