A Telegram bot that analyzes Solana token holders and highlights bundle wallets, whales, and top holders in real time.
Built in Rust using Teloxide and the Solana RPC, this bot is designed for speed, clarity, and on-chain transparency.
- π Fetches all token holders for a given mint address
- β Filters holders by minimum token balance
- π Detects bundle wallets (recently created wallets)
- π Detects whales (wallets holding large SOL balances)
- π Calculates bundle & whale percentages
- π Displays Top 5 holders ranked by balance
- β‘ Runs wallet checks in parallel for performance
- π¬ Clean plain-text Telegram output (no markdown issues)
- Rust
- Teloxide (Telegram bot framework)
- Solana RPC
- Tokio (async runtime)
- Anyhow (error handling)
src/
βββ bot.rs # Telegram bot logic
βββ client.rs # Solana RPC client
βββ fetcher.rs # Token holder fetching
βββ filter.rs # Sorting & filtering
βββ wallet_age.rs # Wallet age detection
βββ whale.rs # Whale detection
βββ config.rs # App configuration
βββ main.rs # Entry point
- Build: cargo build --release
- Run: cargo run --release
/helpβ Show available commands/check <MINT_ADDRESS>β Analyze token holders
Example: /check So11111111111111111111111111111111111111112
