project screenshot 1
project screenshot 2
project screenshot 3

Ape Tweet

Ape into crypto straight from Twitter. Tag @UseApeTweet to swap fast on Base & ETH.

Ape Tweet

Created At

ETHGlobal Trifecta - Agents

Project Description

ApeTweet is an autonomous crypto trading AI agent that lets you instantly invest in tokens just by tagging @UseApeTweet on Twitter. It turns social signals—like seeing a hyped tweet about a new project—into on-chain trades, executed directly from your wallet.

No need to search for contract addresses, visit a DEX, or manually swap tokens. ApeTweet automates the entire process, making it the fastest way to ape into crypto projects straight from Twitter.

🔧 How It Works Tag @UseApeTweet on Twitter under any tweet about a token you want to buy.

Our ElizaOS AI Agent parses the tweet to extract the token’s name, symbol, or contract address.

Wallet Check with Privy – if you're a registered user, ApeTweet accesses your Privy-hosted wallet.

Swap Execution via 1inch SDK – we build the best route for the swap and prepare the transaction.

Send Transaction with Viem + Privy Signer – the agent signs and sends the trade on-chain using your wallet.

Receive Confirmation – the AI comments with your transaction hash or sends it to your dashboard.

🔗 Key Features Instant Apes: Trade with just a Twitter mention.

AI-Powered Parsing: Extracts token info from tweets in real-time.

Secure Wallets: Privy-hosted wallets with no seed phrase required.

Smart Routing: Uses 1inch to find the best swap path across DEXs.

Fast Execution: Powered by Viem on Base and Ethereum.

💡 Why It Matters In the fast-paced world of crypto, speed is everything. ApeTweet bridges social media and decentralized finance by letting users turn FOMO into action instantly. It's like having a degen trading agent built into Twitter.

How it's Made

ApeTweet is built as an autonomous crypto agent that connects Twitter, AI, and onchain trading into one seamless pipeline. The architecture is designed for speed, minimal friction, and hackathon-level efficiency. Here's how it all comes together:

🧠 1. ElizaOS Agent (The Brain) We use a lightweight AI agent system we call ElizaOS, which monitors Twitter for mentions of @UseApeTweet. When tagged:

It parses the tweet using a custom NLP pipeline (OpenAI used as fallback) to extract:

Token symbol or name

Contract address (if included)

Target chain (Ethereum or Base)

Once token data is extracted, the agent triggers a backend webhook to initiate the trade.

Hacky trick: We trained ElizaOS to prioritize token detection in chaotic, meme-heavy tweets using pattern heuristics and fallback to LLM classification only when necessary.

🔐 2. Privy Wallets (The User Layer) To make onboarding frictionless, we use Privy to manage embedded, non-custodial wallets:

Users connect via email or OAuth (Google, etc.)

Wallets are created and stored securely with Privy

ApeTweet uses Privy’s programmatic signer to sign and send transactions without the user needing MetaMask or seed phrases

This is critical to eliminate wallet setup friction—users don’t even need to know they have a wallet to use ApeTweet.

🔄 3. 1inch SDK (The Swap Engine) Once a token is identified, we use the 1inch Aggregation SDK to:

Query the best route for the swap (ETH → token)

Handle slippage (default 2%), gas, and routing logic

Construct a raw transaction object, ready to send

Using 1inch allows us to route through multiple DEXs automatically, making swaps efficient and cost-effective.

🔗 4. Viem (Blockchain Execution) To send the transaction on-chain, we use Viem (modern Ethers.js alternative) to:

Create a blockchain client for Base or Ethereum

Sign and send the transaction using Privy’s signer

Return the transaction hash to ElizaOS for user feedback

🖥️ 5. Frontend (Testing + Demo UI) Though not necessary for user flow, we built a small React + Tailwind frontend to:

Simulate Twitter tag events for testing

Show wallet connection state

Display transaction hash and status

Log swaps for demoing to ETHGlobal judges

🧪 6. End-to-End Flow User tags @UseApeTweet on a tweet

ElizaOS parses the tweet, identifies token

Swap is constructed with 1inch

Transaction is signed & sent via Privy + Viem

ElizaOS posts tx hash back to Twitter thread (or UI)

background image mobile

Join the mailing list

Get the latest news and updates