How agentaashik/meme-coin-trading-bot- works
This is a single-file Solana meme-coin trading bot. Its documented workflow scans DEX Screener pairs, filters them, requests Jupiter quotes, submits swaps through Solana, then monitors prices and may sell. The README also describes PostgreSQL trade logging, but the shown main.py opens a database connection without writing trade records; that capability is therefore shown as documented, not verified runtime behavior. The source excerpt is the only implementation evidence available.
Main entry points: main.py Trading loop · database.sql Trades table
Components 13
Bot control
- Trading loop
main.py - Pair filters
main.py - Price monitor
main.py
Market data
- Pair scanner
main.py - DEX Screener
- Price WebSocket
Trade execution
- Swap quotes
main.py - Swap submission
main.py - Jupiter API
- Solana RPC
Trade storage
- Trades table
database.sql - PostgreSQL
Other components
- Bot operator
Connections 16
- Bot operator → Trading loop: starts
README.md - Trading loop → Pair scanner: fetches pairs
main.py - Pair scanner → DEX Screener: requests pairs
main.py - Trading loop → Pair filters: filters pairs
main.py - Trading loop → Swap quotes: requests buy quote
main.py - Swap quotes → Jupiter API: requests quote
main.py - Trading loop → Swap submission: submits buy
main.py - Swap submission → Jupiter API: requests swap
main.py - Swap submission → Solana RPC: sends transaction
main.py - Trading loop → Price monitor: starts monitoring
main.py - Price monitor → Price WebSocket: receives prices
main.py - Price WebSocket → DEX Screener: connects to feed
- Price monitor → Swap quotes: requests sell quote
main.py - Price monitor → Swap submission: submits sell
main.py - Trading loop → PostgreSQL: logs trades
README.md - PostgreSQL → Trades table: stores trades
README.md