NexWallet creates an AI assistant that manages your cross-chain DeFi operations.
NexWallet is a smart wallet that lets you control your crypto through natural conversation. We've combined LangChain and GPT-4 with Coinbase's CDP to create a wallet that understands what you want to do across multiple chains. Instead of dealing with DeFi operations manually, you just tell NexWallet what you want - either by typing or speaking.
We built NexWallet using FastAPI for the backend and Next.js for the frontend, with LangChain agents coordinating with CDP's tools across Base, Arbitrum, Optimism, and Ethereum networks. The AI handles all the complex stuff: finding the best yields, optimizing gas fees, monitoring positions, and assessing risks. It automatically picks the best chain for your transactions and manages cross-chain operations without you having to think about it.
NexWallet's architecture combines FastAPI backend with Next.js/TypeScript frontend, utilizing LangChain for natural language processing and Coinbase CDP for blockchain operations. The core system integrates custom-built CDP tools for Base, Arbitrum, Optimism, and Ethereum networks through a LangChain agent framework. Our decision-making system implements a multi-step transaction planning algorithm that processes natural language inputs through GPT-4, converts them into executable blockchain operations, and optimizes transaction paths across chains.
The backend architecture features custom CDP wrapper classes that abstract blockchain interactions, implementing chain-specific agents for contract interactions, transaction signing, and gas optimization. We developed a WebSocket-based real-time update system and integrated voice processing. The system employs PostgreSQL with Prisma for data persistence, managing user sessions, transaction history, and cross-chain position tracking.