BotiI recently built a Telegram trading bot for Solana from scratch using Node.js. It's fully...
I recently built a Telegram trading bot for Solana from scratch using Node.js. It's fully open-source, and I wanted to share the architecture and lessons learned.
The bot lets you trade any Solana token directly from Telegram:
Jupiter aggregates routes across all major Solana DEXes (Raydium, Orca, Meteora, etc.) and finds the best price. Their lite API is free and doesn't require authentication — perfect for a bot.
I initially tried using on-chain data directly via Helius, but the rate limits (10 RPS on free tier) made real-time monitoring impractical. DexScreener's API gives you price, volume, liquidity, and transaction counts — all for free.
Each user gets a Solana keypair generated locally. The private key is stored encrypted. Users can export their keys at any time. This is critical for trust — nobody wants to deposit funds into a bot they can't verify.
I spent time building a token sniper that would auto-buy newly graduated pump.fun tokens. After analysis:
Conclusion: Blind sniping doesn't work. You need sophisticated filtering to be profitable.
SOL → USDC → USDT → SOL arbitrage returns ~0.01% — not enough to cover transaction fees.
Their free API provides everything you need for a trading bot: token profiles, pair data, trending tokens, and boost information. No API key needed.
Jupiter offers 50-255 bps fee sharing for integrators. A trading bot can charge 0.5% per swap and earn sustainable revenue.
The bot charges a 0.5% fee on each swap. The referral system gives users 20% of fees from people they refer.
I'd love feedback from anyone building in the Solana/DeFi space. What features would make this more useful?
Built with Node.js, Jupiter, DexScreener, and Helius. MIT licensed.