A command-line tool to analyze Solana transactions for MEV (Maximal Extractable Value) behavior and DEX interactions.
- 🔍 Analyze recent transactions for any Solana wallet
- 📊 Detect interactions with major DEXs (Jupiter, Phoenix, Raydium, etc.)
- 💰 Calculate transaction profitability
- ⚡ Track MEV behavior
- 🔄 Monitor multi-platform interactions
- Node.js (v16 or higher)
- Python 3.7+
- npm or yarn package manager
- Clone the repository:
git clone <your-repo-url>
cd solana-cli- Install Node.js dependencies:
npm install @solana/web3.jsThe tool connects to Solana devnet through QuickNode. You may need to update the endpoint URL in index.js:
const endpoint = 'YOUR_QUICKNODE_URL';Run the CLI tool using Python:
python3 cli.py <WALLET_ADDRESS> -n <NUMBER_OF_TRANSACTIONS>Example:
python3 cli.py 5ZWj7a1f8tWkjBESHKgrNmk1ssL7kfhxrl112VQS9qkE -n 5WALLET_ADDRESS: The Solana wallet address to analyze (required)-n, --num: Number of recent transactions to analyze (optional, default: 3)
The tool provides detailed information for each transaction:
- Transaction signature
- Wallet address
- Platforms involved
- Slot number
- Transaction fees
- DEX interactions
- Profitability analysis
- MEV behavior detection
- Jupiter
- Phoenix
- Raydium
- Orca
- Meteora
The tool includes comprehensive error handling for:
- Invalid wallet addresses
- Network connection issues
- Transaction parsing errors
- API rate limits
Feel free to submit issues and enhancement requests!
[Your chosen license]
This tool is for educational and research purposes only. Always verify transaction data independently.