DeFier

AI-powered chat assistant that simplifies blockchain interactions for both Web2 and Web3 users.

DeFier

Created At

ETHOnline 2025

Project Description

DeFier is an AI-powered chat assistant designed to make decentralised finance feel as easy as having a conversation. Instead of dealing with complex wallets, interfaces, and transaction details, users simply need to prompt. They can type what they want, just like talking to someone. For example, users can enter a command such as “Send 1 PYUSD to wenn.eth on Sepolia”, and DeFier will securely interpret that intent, verify it, and execute the corresponding blockchain transaction on their behalf.

Beyond sending tokens, DeFier can bridge assets between chains, split payments to multiple recipients, and track transaction progress in real time, all through natural language, without ever needing to paste hashes or navigate block explorers. The assistant also supports queries about tokens, markets, transactions, blocks, ENS names, and more, pulling accurate on-chain data and market insights directly from sources like Blockscout and CoinGecko.

DeFier accepts PYUSD, providing a familiar and user-friendly experience that lowers the barrier for Web2 users while remaining fully compatible with Web3 standards. By combining conversational AI with secure smart contract execution, DeFier transforms blockchain interaction into an intuitive, friendly experience where users express intent, and the assistant handles the complexity behind the scenes.

How it's Made

DeFier was built by combining conversational AI with a modular decentralised finance infrastructure. The frontend is developed in Next.js, while the backend and smart contracts are built and tested with Foundry. Together, they form a lightweight yet powerful framework capable of processing natural language commands and converting them into live blockchain actions.

At the heart of DeFier is Gemini API, enhanced through Model Context Protocol (MCP). MCP provides structured context from multiple data sources, allowing Gemini to respond with higher accuracy when users ask about tokens, markets, blocks, or transactions. Specifically, DeFier integrates Blockscout MCP and CoinGecko MCP, so the AI can reference verified on-chain and market data directly in its replies.

For live blockchain execution, DeFier uses Avail Nexus Core and its widgets. Nexus Core enables inline transaction execution within chat, meaning users can send funds without leaving the conversation. The widgets provide visual feedback for bridging progress, letting users see how funds move across chains in real time.

DeFier also includes its own verified smart contract deployed on Sepolia, which supports sending PYUSD and splitting transactions between multiple recipients. This contract serves as a proof of concept for handling group payment flows initiated by natural language prompts.

Additionally, the Blockscout SDK is integrated to track submitted transactions and update their status in real time. Once a transaction is broadcast, DeFier continuously monitors its state and displays confirmation updates directly in the chat interface.

A particularly hacky but rewarding part of the build was how MCP was wired into Gemini to handle contextual understanding. Instead of only feeding static prompts, DeFier dynamically retrieves verified information through Blockscout MCP and CoinGecko MCP whenever users ask a question. Blockscout MCP not only provides live on-chain data but also handles ENS resolution, allowing the assistant to recognise and process addresses like “vitalik.eth” naturally. This setup lets Gemini understand user intent and answer token, market, block, transaction, or address-related questions with precise, up-to-date data. The result is an AI layer that feels conversational yet deeply integrated with blockchain infrastructure, where users simply type what they want to do and DeFier handles everything else behind the scenes.

background image mobile

Join the mailing list

Get the latest news and updates

DeFier | ETHGlobal