DEV Community

TateLyman
TateLyman

Posted on

Pump.fun Direct Trading on Telegram — Bypassing Jupiter for Faster Solana Snipes

Just shipped direct Pump.fun bonding curve trading in @solscanitbot — a free Solana trading bot on Telegram.

The Speed Problem

When a new token launches on Pump.fun, every millisecond counts. The standard route goes:

  1. Detect new token
  2. Call Jupiter Quote API
  3. Call Jupiter Swap API
  4. Sign + send transaction

That's 2-3 HTTP round trips. By the time your transaction lands, the price has already pumped.

The Fix: Direct Bonding Curve

Now the bot detects Pump.fun tokens and trades directly against the bonding curve program (6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P). No Jupiter middleman:

  1. Detect new token
  2. Read bonding curve state on-chain
  3. Build + sign buy instruction locally
  4. Send via Jito for MEV protection

One round trip. The transaction is built locally using the constant product formula from the bonding curve's virtual reserves.

How It Works

Every Pump.fun token has a bonding curve PDA derived from the mint. We read the account data to get:

  • virtualSolReserves and virtualTokenReserves — the AMM pricing
  • complete flag — whether the token has graduated to PumpSwap

If not graduated, we build a buy instruction with the correct discriminator, calculate expected tokens from the reserves, and submit directly.

If graduated, we fall back to Jupiter (which routes through PumpSwap/Raydium).

Smart Routing

The bot now has automatic routing:

  • Pump.fun bonding curve → Direct buy (fastest)
  • PumpSwap/Raydium → Jupiter with priority fees
  • Any other DEX → Jupiter with priority fees

All routes use Jito MEV protection to prevent sandwich attacks.

Full Bot Features

@solscanitbot on Telegram — 3,300+ lines, zero frameworks:

  • Token scanning + safety analysis
  • Buy/sell any Solana token
  • Pump.fun direct bonding curve trading
  • Token sniping (auto-buy new launches)
  • Copy trading (mirror any wallet)
  • DCA automation
  • Limit orders, stop-loss, take-profit
  • Auto take-profit (set target %, bot auto-sells)
  • Portfolio dashboard
  • Weekly trading competitions
  • Position movement alerts
  • Whale wallet monitoring
  • Trending tokens
  • 3-tier referral system (30%/10%/5%)
  • Points leaderboard
  • Jito MEV protection + dynamic priority fees

Free to use. 1% fee on trades (0.9% with referral).


SOL tips: NaTTUfDDQ8U1RBqb9q5rz6vJ22cWrrT5UAsXuxnb2Wr

Top comments (0)