trench
High-performance Solana meme coin trading for AI agents: sniping, MEV-protected execution, rug detection, and automated position management.
Introduction
Trench is a specialized software agent skill designed for high-frequency execution in the Solana decentralized finance (DeFi) ecosystem. It enables AI agents to monitor and interact with meme coin markets on platforms like Jupiter, Raydium, and Pump.fun. The skill is engineered for speed and safety, allowing agents to react to market conditions in real-time while implementing defensive measures against malicious actors. It is ideal for developers building autonomous trading agents or degen-focused financial bots that require reliable, rapid transaction execution and comprehensive portfolio tracking.
-
Rapid Buy/Sell execution leveraging the Jupiter aggregator and direct Raydium pool interactions.
-
Automated Pump.fun token sniping and real-time graduation tracking.
-
MEV (Maximum Extractable Value) protection via Jito bundle submission to mitigate front-running risks.
-
Advanced safety analysis featuring rug/honeypot detection, including liquidity lock verification, mint authority checks, and top-holder analysis using the Rugcheck API.
-
Intelligent position management with auto take-profit, stop-loss, and trailing stop orders.
-
Priority fee optimization to ensure rapid transaction inclusion during high network congestion.
-
Real-time market monitoring integrated with DexScreener and Birdeye price feeds.
-
Input/Output: Accepts natural language commands for trading (e.g., 'Buy 0.5 SOL of <token>'), token contract addresses for safety auditing, and position tracking requests.
-
Dependencies: Requires access to Solana RPC endpoints and API keys for market data services like Birdeye or DexScreener.
-
Safety: Always perform a safety audit using the included rug-check capabilities before executing trades on new or low-liquidity pools.
-
Constraints: Transaction success is subject to Solana network state and liquidity pool availability; implement appropriate auto-retry logic as provided in the scripts.
-
Operational Note: This skill is under active development and intended for users familiar with Solana ecosystem risks; always manage wallet permissions with caution.
Repository Stats
- Stars
- 4,454
- Forks
- 1,215
- Open Issues
- 7
- Language
- Python
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- Apr 30, 2026, 11:01 AM