Compliant token swap tasks with identity verification using Self Protocol and 1inch Fusion+
GateSwap is a task-based DeFi onboarding platform that uses zero-knowledge identity verification and automated token swap flows to reward verified users.
Users first verify their identity via Self Protocol, ensuring they meet criteria such as being over 18 or not on OFAC lists. Once verified, users are guided through a simple 1inch Fusion+ token swap task, and upon completion, receive testnet USDC rewards.
This project demonstrates how to build Sybil-resistant, compliant DeFi applications with smooth UX and modular infrastructure. It can be extended to airdrops, gated access, or incentive platforms where real-user identity is required.
The frontend is built with Next.js + TailwindCSS, with wallet interactions handled via ethers.js.
We deployed a customized Self Protocol verification contract, integrated with Celo Mainnet, and configured with custom age and OFAC checks.
Once verified, users interact with 1inch Fusion+ API to perform a swap. The backend verifies swap completion and triggers simulated reward logic (claim function).
The integration of Self + 1inch provides a novel pattern for compliant, on-chain, incentivized workflows with privacy-preserving credentials.