A modern, user-friendly cryptocurrency payment platform built on the Aptos blockchain that enables instant payments using QR codes and usernames with built-in reward systems.
- 🚀 Deployment: aptopay.shubhh.xyz
- QR Code Payments: Scan or share QR codes for instant, contactless payments
- Username-Based Payments: Send crypto using simple usernames instead of complex wallet addresses
- Payment Rewards: Earn exciting rewards and cashback on every transaction
- Instant Payments: Send and receive crypto in seconds with QR technology
- Secure & Robust: Military-grade security with reversible payment options
- Request System: Create and manage payment requests from other users
- Beautiful UI: Modern, responsive design with smooth animations
- Wallet Integration: Seamless Aptos wallet connection
- Transaction History: Complete payment tracking and history
- Real-time Updates: Live updates for incoming requests and payments
- Multi-tab Interface: Organized sections for Pay, Receive, Request, History, and Rewards
- Node.js 18+
- Aptos-compatible wallet (Petra recommended)
-
Clone the repository
git clone <repository-url> cd Aptopay
-
Install dependencies
npm install
-
Environment Configuration Create a
.env.localfile:APTOS_API_KEY_MAINNET=your_aptos_api_key PHOTON_API_KEY=your_photon_rewards_api_key PHOTON_JWT_SECRET=your_jwt_secret
-
Run the development server
npm run dev
-
Open your browser Navigate to
http://localhost:3000
- User Registration: Users register with wallet address and username
- Payment Creation: Send payments via username or QR code scan
- On-chain Execution: Transactions processed on Aptos blockchain
- Reward Distribution: Automatic reward points for completed payments
- History Tracking: All transactions stored in MongoDB
- Create payment requests with custom amounts and memos
- Accept/reject incoming requests
- Automatic transaction execution on acceptance
- Real-time status updates
- Integrated with Photon rewards platform
- Automatic user registration with Photon
- Event tracking for payment activities
- Custom reward calculation (100 points per 1 APT)
- Wallet Authentication: Secure Aptos wallet integration
- Input Validation: Comprehensive form validation
- Transaction Security: On-chain verification
- Error Handling: Comprehensive error boundaries
- Responsive Design: Works on all device sizes
- Smooth Animations: Framer Motion transitions
- Real-time Updates: Live payment status
- Intuitive Navigation: Tab-based interface
- Visual Feedback: Toast notifications and loading states
- Connect your GitHub repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically on git push
npm run build
npm start- Fork the repository
- Create a 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
Built with ❤️ using Next.js and Aptos


