project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

ChainWhisper

Meet ChainWhisperer: Your AI-powered Telegram companion for cross-chain DeFi. Swap, bridge, and monitor crypto assets using natural language. No UI needed, just chat! Built with multiple protocols for maximum efficiency and security. #ETHGlobal

ChainWhisper

Created At

ETHGlobal Bangkok

Winner of

Blockscout - Blockscout Explorer Big Pool Prize

Prize Pool

Coinbase Developer Platform - CDP SDK Pool Prize

Prize Pool

Project Description

ChainWhisperer is a cutting-edge AI-powered Telegram bot that transforms how users interact with decentralized finance (DeFi). Designed to simplify complex crypto operations, ChainWhisperer enables users to manage their wallets, swap tokens, bridge assets, and check balances, all through natural language commands, without requiring any technical expertise or graphical user interfaces.

The project leverages multiple sponsors and their state-of-the-art technologies to deliver a seamless experience:

Biconomy: Powering the smart wallet functionality with Nexus Smart Accounts, users can easily create wallets via simple commands like /start. These wallets are non-custodial and optimized for efficient transactions.

Polygon: Serving as the deployment platform, Polygon provides the scalability and low fees required to handle ChainWhisperer’s backend operations, ensuring fast and cost-effective transactions.

Coinbase: With the AgentKit API, the bot securely routes cross-chain transactions. For instance, users can say, “Send 1 USDC to 0xB4d00788F75F27b85285b3aF21Bdc16b3336D91E on Polygon,” and ChainWhisperer handles the rest.

Blockscout: Enables real-time token balance queries, so users can simply ask, “What’s my token balance?” and get accurate details across supported chains.

1inch: Using the Fusion+ API, ChainWhisperer optimizes token swaps with minimal slippage and gas costs. Commands like “Swap 1 USDC to WETH from Polygon to Ethereum” are executed seamlessly.

ChainWhisperer bridges the gap between users and the complexities of DeFi by integrating these advanced technologies into a conversational interface. Whether you're a seasoned crypto enthusiast or a beginner, the bot’s natural language capabilities and sponsor-backed infrastructure make managing digital assets effortless, secure, and accessible to everyone.

How it's Made

ChainWhisperer leverages multiple cutting-edge technologies and protocols to deliver a seamless and intuitive experience. The project was built using a mix of partner technologies and custom-built components, with a heavy emphasis on making the complex world of DeFi accessible to everyone.

Core Technologies and Integration

  1. Telegram Bot API The bot serves as the user-facing interface, leveraging the Telegram Bot API for message handling. Initially envisioned as a Telegram Mini App for a richer user experience, the idea was cut due to time constraints, requiring a more streamlined approach with natural language text commands. Despite this, the bot’s conversational interface ensures that users can perform complex operations without needing a graphical UI.
  2. Natural Language Processing (NLP) AI Backend: Powered by OpenAI’s GPT-based models for intent detection and parameter extraction. Custom NLP Pipeline: Extracts user intent and parameters, such as: Message: "Swap 50 USDC to ETH from Ethereum to Polygon." Result: { amount: 50, fromToken: "USDC", toToken: "ETH", fromChain: "Ethereum", toChain: "Polygon" }.
  3. Blockchain and Protocol Integration Biconomy Nexus Smart Accounts: Simplifies wallet creation and management with gas-optimized, non-custodial smart accounts. A user can start with a simple /start command, creating a wallet in seconds. 1inch Fusion+ API: Handles efficient token swaps and cross-chain operations. Users can execute commands like, "Swap 1 USDC to WETH from Polygon to Ethereum," seamlessly. LayerZero Protocol: Facilitates secure cross-chain messaging for bridging assets. Blockscout API: Fetches real-time token balances across supported chains when users ask, "What’s my token balance on Polygon?"
  4. Backend and Database Node.js: Manages asynchronous user requests and API calls. Flask (Python): A separate microservice handles advanced AI tasks like intent detection and NLP. PostgreSQL: Stores wallet data, pending transactions, and session details. Challenges and Compromises
  5. Telegram Mini App The original vision included building a Telegram Mini App, complete with a GUI for token selection, transaction confirmation, and portfolio visualization. However, due to time constraints, this was replaced with a text-only conversational interface.
  6. Voice Control Voice commands were planned to make ChainWhisperer even more accessible, allowing users to perform tasks like "Bridge 0.1 ETH to Polygon" using speech. Unfortunately, this feature had to be deferred for future development due to time limitations.
  7. Sponsors and Integrations While the project successfully integrated Biconomy, 1inch, Polygon, Blockscout, and LayerZero, other potential sponsor technologies had to be passed on due to the tight timeline. What Makes ChainWhisperer Unique Hacky Innovations: Custom hash-lock mechanisms for multi-sig-like security in cross-chain operations. AI-driven parameter extraction to simplify natural language commands. Efficiency: By leveraging gas-efficient chains and APIs, the bot minimizes user costs while delivering high reliability. Accessibility: The conversational design ensures that even non-technical users can navigate DeFi with ease. Future Enhancements Although some features had to be deferred, the vision for ChainWhisperer includes:

Telegram Mini App: To add a graphical layer for enhanced usability. Voice Control: Enabling users to interact with the bot via speech commands. Expanded Integrations: Bringing more blockchains, tokens, and DeFi protocols into the fold. NFT Management: Viewing and transferring NFTs across chains. Staking and Yield Farming: Empowering users to earn passive income. ChainWhisperer is a testament to how cutting-edge technologies and a clear focus on accessibility can bring the complex world of DeFi to everyone. While some ambitious features were left on the cutting room floor due to time, the project’s foundation is solid, with endless potential for future growth.

background image mobile

Join the mailing list

Get the latest news and updates