Send or receive crypto across chains with a simple link — tips, payments, and donations made easy.
WavePay - a cryptocurrency payment platform that revolutionizes how creators and businesses receive crypto payments. The platform enables users to receive payments in any cryptocurrency through cross-chain Fusion+ swaps powered by 1inch.
The Problem It Solves: Cross-chain payment barriers: Traditional crypto payment systems often require both sender and receiver to use the same blockchain Token preference mismatches: Senders might have different cryptocurrencies than what receivers want Complex payment processes: Setting up crypto payments is often technical and user-unfriendly
This is a sophisticated cross-chain trading application built on Next.js 15 with React 19, leveraging 1inch's Fusion+ protocol for decentralized cross-chain swaps. The tech stack centers around a modern web3 architecture using Wagmi v2 for wallet connectivity, Viem for Ethereum interactions, and a PostgreSQL database for order state management. The frontend uses Reown's AppKit for a polished wallet connection experience, supporting 12+ networks including Arbitrum, Base, Polygon, and others. The backend implements a complex order preparation and execution flow where users first get quotes through 1inch's API, then prepare orders with cryptographically generated secrets and hash locks for atomic cross-chain execution. The system uses a two-phase approach: order preparation (storing temporary data with UUIDs and 5-minute expiration) followed by signature collection and order submission. A background processing system handles the complex secret submission logic required by Fusion+'s atomic swap mechanism, with retry logic and rate limiting to handle API constraints. The database schema tracks order states, secrets, and processing attempts, with automatic cleanup of expired preparations and old orders. The application implements proper error handling, structured logging, and uses environment variables for API keys and database connections. Notable technical challenges include managing the cryptographic complexity of Fusion+ orders, handling the multi-step signing process, and implementing reliable background processing for cross-chain secret submissions. The project demonstrates advanced web3 integration patterns, combining multiple SDKs (1inch Cross-Chain SDK, Reown AppKit, Wagmi) into a cohesive user experience for cross-chain trading.