Skip to content

Latest commit

Β 

History

History
66 lines (46 loc) Β· 1.64 KB

File metadata and controls

66 lines (46 loc) Β· 1.64 KB

🧠 Solana Token Holders Analyzer Bot (TokyScanner)

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.


πŸš€ Features

  • πŸ” 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)

πŸ› οΈ Tech Stack

  • Rust
  • Teloxide (Telegram bot framework)
  • Solana RPC
  • Tokio (async runtime)
  • Anyhow (error handling)

πŸ“¦ Project Structure

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

▢️ Running the Bot

  • Build: cargo build --release
  • Run: cargo run --release

πŸ€– Telegram Commands

  • /help β€” Show available commands
  • /check <MINT_ADDRESS> β€” Analyze token holders

Example: /check So11111111111111111111111111111111111111112


Example Bot Output

Telegram bot showing token holder analysis