Sai Byrraju
< Back to projects

token-sniper

A memecoin trading bot.

PythonFlaskTweepyRequestsReact

Why I built this

The idea was to monitor Twitter accounts for token mentions, check DEX Screener liquidity and market cap, and trade on Solana when the numbers looked right.

How it works

twitter polling → contract extraction → dex screener liquidity check → trade decision

tweet_scraper.py extracts Solana contract addresses. liquidity_check.py checks the first pair and applies a $10,000 liquidity threshold. The backend tracks contracts, tweet links, and timestamps in CSV. The trading path worked, but public-network trades were MEV sandwiched, so I stopped.

Decisions

Polling over WebSocket streaming

Tweepy's v2 API made polling simple and seconds of latency was acceptable.

Stopped before shipping

The bot could not be profitable against MEV on public Solana networks, so optimizing it further did not make sense.