Instant USDC remittance on Solana — No banks. No borders. Near-zero fees.
SolPayX is a decentralized remittance platform built on Solana that lets anyone send USDC across the world instantly — replacing expensive, slow traditional remittance services like Western Union and bank wire transfers.
Send $100 to family in Nepal from the US in under 3 seconds for a fraction of a cent. No middlemen. No waiting days. No hidden fees.
|
|
|
|
|
|
| Feature | Description |
|---|---|
| ⚡ Instant Transfers | Transactions finalize in ~400ms on Solana |
| 💸 Near-Zero Fees | 0.1% platform fee + ~$0.00025 gas |
| 🔗 Blinks / Payment Links | Shareable links like solpayx.vercel.app/pay/yourname |
| 📊 Live Dashboard | Real-time USDC & SOL balance with transaction history |
| 🔐 Non-Custodial | Your keys, your money — we never touch your funds |
| 🌐 On-Chain Fee Logic | Anchor smart contract enforces 0.1% fee trustlessly |
| 📡 Helius RPC | Enterprise-grade RPC for fast, reliable transactions |
| 🔄 WebSocket Confirmations | Real-time transaction status updates |
┌─────────────────────────────────────┐
│ Next.js Frontend │
│ (App Router + TailwindCSS) │
└──────────────┬──────────────────────┘
│
┌───────────┼───────────────┐
▼ ▼ ▼
Phantom Blinks API Dashboard
Wallet /api/actions/ (Balance +
Adapter remit History)
│ │ │
└───────────┼───────────────┘
▼
┌───────────────────────────┐
│ Helius RPC Layer │
│ (WebSocket + REST) │
└───────────┬───────────────┘
▼
┌───────────────────────────┐
│ Solana Blockchain │
│ ┌─────────────────────┐ │
│ │ Anchor Program │ │
│ │ (remittance.so) │ │
│ │ - Fee enforcement │ │
│ │ - Transfer logic │ │
│ │ - Event emission │ │
│ └─────────────────────┘ │
│ USDC SPL Token │
└───────────────────────────┘
User sends 100 USDC
↓
Smart contract intercepts
↓
0.1% fee automatically split:
├── 99.9 USDC → Recipient ✅
└── 0.1 USDC → SolPayX Treasury 💼
The fee logic lives on-chain in the Anchor program — it cannot be bypassed.
- Node.js v18+
- Rust + Cargo
- Solana CLI
- Anchor CLI
- Phantom Wallet browser extension
# Clone the repository
git clone https://github.com/yourusername/solpayx.git
cd solpayx
# Install dependencies
npm install
# Copy environment variables
cp .env.example .env.localCreate a .env.local file in the root directory:
NEXT_PUBLIC_RPC_URL=https://devnet.helius-rpc.com/?api-key=YOUR_HELIUS_KEYGet your free Helius API key at 👉 https://helius.dev
npm run devOpen http://localhost:3000 in your browser.
The Anchor program lives in /remittance/programs/remittance/src/lib.rs.
cd remittance
anchor buildanchor program deploy --provider.cluster devnet --provider.wallet ~/.config/solana/devnet.json72citsVT8pcy5orD5HVAS9UN1aBspCkui1NmcGAB8Xsg
View on Solscan 👉 https://solscan.io/account/72citsVT8pcy5orD5HVAS9UN1aBspCkui1NmcGAB8Xsg?cluster=devnet
solpayx/
├── src/
│ ├── app/
│ │ ├── page.tsx # Home / Send USDC
│ │ ├── dashboard/page.tsx # Balance & History
│ │ ├── pay/[user]/page.tsx # Public payment page
│ │ └── api/actions/remit/ # Blinks API endpoint
│ │ └── route.ts
│ ├── components/
│ │ ├── WalletProvider.tsx
│ │ ├── SendForm.tsx
│ │ ├── BalanceCard.tsx
│ │ └── TxHistory.tsx
│ └── lib/
│ ├── transfer.ts # USDC transfer logic
│ ├── program.ts # Anchor program client
│ ├── helius.ts # Helius RPC helpers
│ └── remittance.json # Anchor IDL
├── remittance/
│ └── programs/remittance/
│ └── src/lib.rs # Anchor smart contract
└── .env.local # Environment variables
SolPayX supports Solana Actions & Blinks, allowing payment links to render as interactive buttons on Twitter/X, Telegram, and other platforms.
Your payment link:
https://solpayx.vercel.app/pay/YOUR_WALLET_ADDRESS
Share it anywhere — anyone with a Phantom wallet can send you USDC instantly.
| Layer | Technology |
|---|---|
| Frontend | Next.js 15, TailwindCSS, TypeScript |
| Blockchain | Solana, USDC SPL Token |
| Smart Contract | Anchor Framework, Rust |
| Wallet | Phantom Wallet Adapter |
| RPC | Helius (WebSocket + REST) |
| Deployment | Vercel |
- USDC transfers on devnet
- Anchor smart contract with fee logic
- Blinks / viral payment links
- Live dashboard
- Helius RPC integration
- WebSocket confirmations
- Deployed to Vercel
- Token-2022 transfer hook
- Mainnet launch
- Mobile app (React Native)
- Fiat on-ramp integration
- Multi-currency support
- Custom domain (solpayx.com)
Contributions are welcome! Please open an issue or submit a pull request.
- Fork the repo
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
SolPayX is currently running on Solana Devnet for testing purposes. Devnet tokens have no real monetary value. Do not use real funds until mainnet launch.
This project is currently not licensed. All rights are reserved by the author unless stated otherwise.
Dipendra — Pokhara University Software Engineering student, building real-world Web3 applications and exploring decentralized systems. 🚀
"Replace Western Union with code."
Live Demo • Smart Contract • Report Bug
⭐ Star this repo if you find it useful!




