Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Rug-Check Telegram Bot

Paste a token mint into Telegram → get a scored rug-risk report back in seconds. Zero dependencies (raw Bot API long polling), ~150 lines, runs in 5 minutes on a free API key.

Powered by the MadeOnSol token intelligence API.

📖 Full tutorial: Build a Solana rug-check Telegram bot in 10 minutes

Your key What you get per mint
Free 0–100 early-buyer quality score — known dump-cluster wallets in the first buyers, bot domination, KOL/alpha-wallet presence
PRO / ULTRA Full 0–100 rug-risk score with 10 auditable factors: mint/freeze authority, liquidity depth & thinness, LP burn, Token-2022 transfer fee, bundled launch, deployer track record, KOL distribution, blacklist

The bot detects your tier automatically — same code, richer output on PRO. Batch-checks up to 10 mints per message (counts as one API request on PRO's batch endpoint).

Data only. MadeOnSol never executes trades or touches funds. Scores are transparent — every point is attributed to a named factor, unlike opaque one-number checkers.

Quickstart (5 minutes)

git clone https://github.com/madeonsol/rug-check-telegram-bot
cd rug-check-telegram-bot

# 1. Free API key (200 req/day, no payment): https://madeonsol.com/pricing
export MADEONSOL_API_KEY=msk_your_key_here

# 2. Telegram bot token: message @BotFather → /newbot
export TELEGRAM_BOT_TOKEN=123456:ABC...

node index.mjs

Then DM your bot any mint address:

🔴 7xKX…gAsU — risk 78/100 (danger)
   ⛔ Mint authority: not revoked — supply can be inflated
   ⚠️ Liquidity: $4.2k — thin vs $310k MC
   ⚠️ Launch: bundled open (38 SOL in first 20 buys)

No Telegram? Test from the terminal

node index.mjs So11111111111111111111111111111111111111112

Configuration

Var Required What
MADEONSOL_API_KEY msk_ key — free at madeonsol.com/pricing
TELEGRAM_BOT_TOKEN for bot mode From @BotFather

Ideas to build on top

  • Auto-check every mint posted in a group chat (remove the reply gate)
  • Add GET /tokens/{mint}/cap-table for the named early-buyer breakdown (PRO)
  • Alert-time scoring for your own bot: POST /tokens/batch/risk scores 50 mints in one ~200ms call
  • Cross-check with live KOL activity: GET /token/{mint} includes smart-money net flow

Tests

MADEONSOL_API_KEY=msk_... node test.mjs

Unit tests (mint extraction, HTML escaping, tier-fallback with mocked 403s) + live shape tests against production. No Telegram token needed for tests.

API docs

madeonsol.com/api-docs

License

MIT

About

Telegram bot that rug-checks Solana tokens — scored risk reports via the MadeOnSol API, zero dependencies

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages