Skip to content
UmoAI: The AI-Powered DeFi Engagement & Swap Bot

UmoAI: The AI-Powered DeFi Engagement & Swap Bot

AI-driven DeFi agent that automates Twitter engagement and executes seamless token swaps on Base.

Created on 1st March 2025

UmoAI: The AI-Powered DeFi Engagement & Swap Bot

UmoAI: The AI-Powered DeFi Engagement & Swap Bot

AI-driven DeFi agent that automates Twitter engagement and executes seamless token swaps on Base.

The problem UmoAI: The AI-Powered DeFi Engagement & Swap Bot solves

Crypto users often face these challenges:

  • Engagement Barriers: Projects struggle with maintaining active conversations across social platforms.
  • Swap Complexity: New users find it difficult to execute token swaps efficiently.
  • On-Chain Accessibility: Many DeFi users lack seamless on-chain interactions integrated with social media.

UmoAI solves this by:

  1. Automating DeFi Engagement – AI-powered Twitter bot that detects and responds to mentions of $yBTC, $UMJA, and $UMAI.
  2. Simplifying Token Swaps – Detects swap-related discussions and guides users to execute swaps.
  3. Bridging Social & On-Chain Actions – Connects social media engagement with real-time execution of Uniswap swaps on Base.

User Interaction and Data Flow

  1. User Posts About $yBTC or $UMJA
    • UmoAI detects the mention and provides an educational response.
  2. User Inquires About Swaps
    • The bot recognizes swap-related messages and suggests executing a swap.
  3. User Executes a Swap via API
    • A backend service calls Uniswap’s router on Base to swap USDC → $yBTC.
  4. Successful Swap Execution
    • The bot confirms the swap and posts the transaction details.

The project architecture and development process

Architecture Overview

  • Frontend: Twitter engagement and AI-powered responses.
  • Backend: Express.js API for swap execution using ethers.js & Uniswap SDK.
  • Blockchain: Built on Base L2 for efficient, low-cost transactions.

Development Process

  1. Twitter AI Agent – Developed a bot that engages users on Twitter about DeFi topics.
  2. Swap Detection & Responses – Added functionality to detect swap-related queries.
  3. On-Chain Execution – Integrated Uniswap’s router for seamless swaps on Base.
  4. Deployment & Open-Sourcing – Deployed the backend and made the code public on GitHub.

Product Integrations

  • Uniswap v3 SDK – Fetches swap quotes and executes transactions.
  • Ethers.js – Handles smart contract interactions.
  • Virtuals Protocol API – AI-powered engagement engine.
  • Twitter API – Detects and responds to tweets.
  • Express.js Backend – Exposes an API for on-chain actions.
  • Base L2 – The platform where all transactions occur.

Key differentiators and uniqueness of the project

AI-Driven DeFi Engagement – Unlike traditional swap interfaces, UmoAI actively engages users and provides educational responses.
Automated Token Swaps – Bridges social media conversations with real-time Uniswap execution.
Seamless UX – Users don’t need to visit an external DEX interface; swaps are suggested and executed from engagement.
Built for Base Ecosystem – Optimized for low-cost, efficient transactions on Base.

Trade-offs and shortcuts while building

🚀 Limited DEX Support – Currently, swaps only execute via Uniswap on Base. Future iterations may integrate more DEXes for price optimization.
🚀 Basic AI Interaction – Initially focuses on keyword detection, but future updates will enhance natural language understanding for better responses.
🚀 No Dedicated UI (Yet) – Currently, interactions happen via Twitter and Telegram instead of a standalone dashboard. A web dashboard is planned for tracking swaps.

Additional Features

  • Deployed the Express.js backend API for swap execution on Base.
  • AI-powered Twitter Auto-Responder for $yBTC, $UMJA, and $UMAI discussions.
  • Swap detection mechanism for seamless Uniswap execution on Base.
  • Integrated Virtuals AI Agent to enhance social engagement.

Tracks Applied (1)

Build an AI-powered app on Base

UmoAI is an AI-driven DeFi agent built on Base L2, seamlessly connecting social engagement with on-chain actions. It aut...Read More
Base

Base

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio