Skip to content

Owonftt/airdrop-radar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‘ Airdrop Radar

License: MIT Python 3.11+ FastAPI Powered by MiMo

AI-powered airdrop discovery and qualification platform β€” multi-agent opportunity scanning, task planning, eligibility checking, and reward estimation powered by Xiaomi MiMo.

Airdrop Radar uses a multi-agent AI system to help Web3 users discover, evaluate, and qualify for cryptocurrency airdrop opportunities across multiple blockchain ecosystems. Each agent specializes in a specific aspect of the airdrop lifecycle, orchestrated through a FastAPI backend with a clean dashboard frontend.


πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Airdrop Radar Frontend                       β”‚
β”‚               (Dark-themed SPA Dashboard)                       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                             β”‚ REST API
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    FastAPI Backend (main.py)                     β”‚
β”‚  Endpoints: /discover  /plan  /check  /estimate  /agents/status β”‚
β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
      β”‚              β”‚              β”‚              β”‚
β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ πŸ”­ Opp.   β”‚ β”‚ πŸ“‹ Task    β”‚ β”‚ βœ… Elig.   β”‚ β”‚ πŸ’° Reward     β”‚
β”‚ Scanner   β”‚ β”‚ Planner    β”‚ β”‚ Checker    β”‚ β”‚ Estimator     β”‚
β”‚ Agent     β”‚ β”‚ Agent      β”‚ β”‚ Agent      β”‚ β”‚ Agent         β”‚
β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
      β”‚              β”‚              β”‚              β”‚
β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                  Xiaomi MiMo LLM (MiMo-7B-RL)                   β”‚
β”‚          Chain-of-thought reasoning for Web3 analysis            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

✨ Features

Multi-Agent System

  • πŸ”­ Opportunity Scanner β€” Scans 6+ blockchain ecosystems (Ethereum, Solana, Base, Arbitrum, Optimism, Polygon) for airdrop opportunities using LLM analysis of protocol activity, funding, and historical patterns
  • πŸ“‹ Task Planner β€” Creates gas-optimized, priority-ranked action plans to maximize airdrop eligibility within budget constraints
  • βœ… Eligibility Checker β€” Analyzes wallet addresses against airdrop criteria, classifying eligibility status with actionable recommendations
  • πŸ’° Reward Estimator β€” Estimates potential token rewards and USD value ranges using historical airdrop data, protocol valuations, and wallet activity analysis

Platform

  • RESTful API with full OpenAPI documentation
  • Dark-themed responsive dashboard
  • Agent status monitoring
  • Real-time multi-agent orchestration
  • Demo mode (works without API key using generated data)
  • CORS-enabled for frontend integration

πŸ› οΈ Tech Stack

Layer Technology
LLM Xiaomi MiMo (MiMo-7B-RL)
Backend Python 3.11+, FastAPI, Pydantic v2
HTTP Client httpx (async)
Frontend Vanilla HTML/CSS/JS (no build step)
Deployment Netlify (frontend), any Python host (backend)
License MIT

πŸš€ Getting Started

Prerequisites

  • Python 3.11+
  • Xiaomi MiMo API key (optional β€” works in demo mode without one)

Backend Setup

cd backend

# Create virtual environment
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Configure environment
cp .env.example .env
# Edit .env with your MIMO_API_KEY

# Run the server
uvicorn app.main:app --reload --port 8000

The API will be available at http://localhost:8000 with interactive docs at http://localhost:8000/docs.

Frontend Setup

cd frontend

# Serve with any static file server
python -m http.server 3000
# Or use npx serve .
# Or deploy to Netlify

Open http://localhost:3000 in your browser.


πŸ“‘ API Reference

Endpoints

Method Endpoint Description
POST /discover/airdrops Scan for airdrop opportunities
POST /plan/tasks Generate prioritized task plan
POST /check/eligibility Check wallet eligibility
POST /estimate/rewards Estimate potential rewards
GET /agents/status Get all agent statuses
GET /health Health check

Example: Discover Airdrops

curl -X POST http://localhost:8000/discover/airdrops \
  -H "Content-Type: application/json" \
  -d '{"chains": ["Ethereum", "Solana"], "min_confidence": 0.5}'

Example: Estimate Rewards

curl -X POST http://localhost:8000/estimate/rewards \
  -H "Content-Type: application/json" \
  -d '{"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18"}'

Response Format

All responses use Pydantic models with consistent schemas. See /docs for full OpenAPI specification with request/response models.


πŸ“‚ Project Structure

airdrop-radar/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ main.py                    # FastAPI application
β”‚   β”‚   β”œβ”€β”€ agents/
β”‚   β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”‚   β”œβ”€β”€ opportunity_scanner.py # πŸ”­ Discovery agent
β”‚   β”‚   β”‚   β”œβ”€β”€ task_planner.py        # πŸ“‹ Planning agent
β”‚   β”‚   β”‚   β”œβ”€β”€ eligibility_checker.py # βœ… Eligibility agent
β”‚   β”‚   β”‚   └── reward_estimator.py    # πŸ’° Estimation agent
β”‚   β”‚   └── models/
β”‚   β”‚       β”œβ”€β”€ __init__.py
β”‚   β”‚       └── schemas.py             # Pydantic data models
β”‚   β”œβ”€β”€ requirements.txt
β”‚   └── .env.example
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ index.html                     # Dashboard SPA
β”‚   β”œβ”€β”€ css/style.css                  # Dark theme styles
β”‚   └── js/app.js                      # Frontend logic
β”œβ”€β”€ proof/
β”‚   β”œβ”€β”€ README.md
β”‚   β”œβ”€β”€ architecture.md
β”‚   └── token_consumption_estimate.md
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ .gitignore
└── netlify.toml

πŸ€– How the Agents Work

Each agent follows a consistent pattern:

  1. Receive a structured request
  2. Build a domain-specific prompt with context
  3. Query the Xiaomi MiMo LLM with the prompt
  4. Parse the structured JSON response
  5. Validate and return Pydantic models

When no API key is configured, agents fall back to realistic generated data for development and testing.

Prompt Engineering

Each agent uses carefully crafted system prompts that:

  • Define the agent's role and expertise
  • Specify exact output JSON schema
  • Provide domain knowledge and analysis frameworks
  • Include comparable historical data for calibration

πŸ“‹ Topics

100t-orbit Β· ai-agents Β· airdrop Β· web3 Β· fastapi Β· llm Β· mimo Β· multi-agent Β· reward-estimation Β· xiaomi-mimo


πŸ“„ License

MIT License β€” see LICENSE for details.


⚠️ Disclaimer

This tool is for educational and research purposes only. It does not constitute financial advice. Always do your own research (DYOR) before participating in any airdrop or DeFi protocol. Airdrop estimates are speculative and based on historical patterns β€” actual rewards may vary significantly.

About

πŸ“‘ AI-powered airdrop discovery and qualification platform β€” multi-agent opportunity scanning, task planning, eligibility checking, and reward estimation powered by Xiaomi MiMo

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors