Solana Telegram Trading Bot — Full Source Code
4,100+ lines of production Node.js. 42 commands. 12 background workers. Deploy your own bot today.
Running live as @solscanitbot with real users
Pay with SOL. Instant delivery.
Stats
4,100+
Lines of Code
42
Commands
12
Background Workers
19
Data Files
Trading Engine
Buy/sell any Solana token via Jupiter aggregator. Direct Pump.fun bonding curve trading for new tokens. Configurable slippage, priority fees, and Jito MEV bundles.
Token Sniping
Auto-snipe new tokens from DexScreener + Pump.fun graduation detection. Configurable buy amounts, max market cap filters, and auto take-profit.
Copy Trading
Mirror any wallet's trades with snapshot-diff monitoring. Configurable buy amounts and position limits per target. Multi-wallet support.
DCA Engine
Automated dollar-cost averaging with 5 interval options. Per-order execution with full fee accounting. Persistent across restarts.
Limit Orders & Stop-Loss
Price-triggered buy/sell orders. Automated stop-loss. Auto take-profit with configurable percentage targets.
Portfolio Dashboard
Real-time portfolio with USD values, per-position P&L, and quick sell buttons. SOL balance tracking with deposit/withdrawal history.
Premium Tier
SOL-based subscription system. Payment verification on-chain. Halved trading fees, unlimited snipes. Background expiry checker with renewal reminders.
Token Promotions
Paid token promotion system. 0.5 SOL/24h to feature at top of /trending with auto buy buttons. Full promotion lifecycle management.
Volume/Bump Bot
Generate real on-chain volume. Buy + sell cycles through Jupiter. Per-cycle pricing. Background execution with configurable intervals.
3-Tier Referral System
30%/10%/5% fee sharing across 3 tiers. Referral link generation, earnings tracking, and leaderboard. Premium users get 40% tier-1.
Whale & Price Alerts
Monitor known whale wallets. Custom price alerts on any token. Position size change notifications. All alerts via Telegram.
Engagement Engine
Daily trending token digest to all active users. 3-day inactive user re-engagement. Premium expiry warnings. Quick-start onboarding.
7 Revenue Streams Built In
- Trading Fees: 1% on every swap (configurable)
- Premium Subscriptions: 0.1 SOL/month recurring
- Token Promotions: 0.5 SOL per 24h featured listing
- Volume Bot: 0.05 SOL per bump cycle
- Token Safety Scans: 0.01 SOL per scan
- Tips: Voluntary tip jar with preset amounts
- Referral Network: Users recruit users — you earn from everyone
Technical Architecture
- Single-file Node.js — no framework overhead, zero dependencies beyond node-fetch
- Long-polling Telegram Bot API — no webhooks needed
- Jupiter V6 aggregator for optimal swap routing
- Direct Pump.fun bonding curve integration
- Jito MEV bundle submission for frontrun protection
- Helius RPC for reliable Solana access
- DexScreener API for token discovery and trending
- JSON file-based persistence — no database required
- 12 background workers on configurable poll intervals
- Auto-reconnect with exponential backoff (30 retries)
- Crash recovery with automatic restart
What You Get
- Complete bot.js source code (4,100+ lines)
- All configuration files and templates
- Deployment documentation
- README with full command reference
- Architecture documentation
- Free updates — source stays current
Live demo: @solscanitbot on Telegram
Want a grid trading bot instead?
Automated grid trading on Jupiter DEX. Python. Backtested +11.7% during a -37% SOL crash.
SOL Grid Bot — 0.5 SOL