Automated installer for recMEV: Solana DEX pool discovery tool
π Public Infrastructure | β‘ One-Command Setup | π Built with Excellence
Make Solana MEV tools accessible to everyone.
recMEV is a powerful Rust-based tool for discovering liquidity pools on Solana DEXsβcritical for MEV strategies. But setting it up manually is complex:
- π§ Multiple dependencies (Rust, Solana CLI, Node.js, PostgreSQL)
- βοΈ Complex configuration (RPC endpoints, database, environment variables)
- π Common errors (port conflicts, permission issues, missing packages)
- π Long manual installation process
recMEV Installer solves this: One command installs everything, properly configured.
Automated, idempotent installation script that:
- β Checks System - Detects OS, architecture, existing installations
- π¦ Installs Dependencies - Rust, Solana CLI, PostgreSQL, Node.js
- π Generates Configs - .env files, database configs, RPC settings
- ποΈ Sets Up Database - Creates PostgreSQL database with schema
- π§ Builds recMEV - Compiles Rust binaries with optimizations
- β Verifies Installation - Runs health checks, confirms working setup
- π Provides Next Steps - Clear instructions for running recMEV
Tagline: "From zero to MEV discovery in minutes."
Installer:
- Bash shell script (POSIX-compatible)
- Supports: Linux (Ubuntu, Debian, CentOS, Arch), macOS
recMEV Backend (What Gets Installed):
- Rust 1.70+ (high-performance pool discovery)
- Solana CLI 1.16+ (blockchain interaction)
- PostgreSQL 14+ (pool data storage)
- Node.js 18+ (optional frontend)
Dependencies Managed:
- curl/wget (downloading)
- git (cloning repos)
- build-essential (compiling)
- pkg-config, openssl (build dependencies)
- Linux or macOS (Windows via WSL2)
- Sudo/root access
- Internet connection
- 4GB+ RAM, 20GB+ disk spaceOne-command install:
curl -sSfL https://raw.githubusercontent.com/RECTOR-LABS/recMEV-installer/main/install.sh | bashOr download and run:
git clone https://github.com/RECTOR-LABS/recMEV-installer.git
cd recMEV-installer
chmod +x install.sh
./install.sh1. System check (OS, architecture, permissions)
2. Install Rust (via rustup)
3. Install Solana CLI (via official installer)
4. Install PostgreSQL (via package manager)
5. Install Node.js (via nvm or package manager)
6. Clone recMEV repository
7. Generate .env configuration
8. Create PostgreSQL database
9. Build recMEV (cargo build --release)
10. Run verification tests
11. Display next steps
Time: ~10-15 minutes depending on internet speed and system specs.
After installation completes:
# Navigate to recMEV directory
cd ~/recMEV
# Start the pool discovery service
./target/release/recmev
# Check status
./target/release/recmev status
# View discovered pools
./target/release/recmev pools --limit 10Edit ~/recMEV/.env to customize:
# Solana RPC endpoint (use your own for rate limits)
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
# PostgreSQL connection
DATABASE_URL=postgresql://recmev:password@localhost/recmev_db
# Pool refresh interval (seconds)
REFRESH_INTERVAL=60
# DEXs to monitor (comma-separated)
MONITORED_DEXS=raydium,orca,lifinity,meteoracd ~/recMEV
git pull origin main
cargo build --release- π Detects Existing - Skips already installed components
- π Idempotent - Safe to run multiple times
- π Verbose Logging - Shows what's happening, helps debugging
- π‘οΈ Error Handling - Graceful failures with clear messages
- π§ Linux - Ubuntu, Debian, CentOS, Arch, Fedora
- π macOS - Intel and Apple Silicon (M1/M2)
- πͺ Windows - Via WSL2 (Ubuntu/Debian)
- β No Root Execution - Runs as user (sudo only when needed)
- π Secure Defaults - Strong PostgreSQL passwords
- π Key Management - Generates Solana keypairs securely
- π Permissions - Proper file/directory permissions
- π Clear Output - Color-coded status messages
- π Debug Mode -
./install.sh --debugfor troubleshooting - π§ͺ Test Mode -
./install.sh --testfor dry runs - π Logs - Installation log saved to
install.log
./install.sh --path /opt/recmev# Skip PostgreSQL (use existing instance)
./install.sh --skip-postgres
# Skip Node.js (backend only)
./install.sh --skip-nodejs./uninstall.sh
# Removes recMEV and optionally installed dependenciesWhy This Installer Matters:
- π Accessibility - MEV tools available to all, not just experts
- π° Cost Savings - Avoid hours of manual configuration
- π‘οΈ Reliability - Tested on dozens of systems
- π Community - Open-source, contributions welcome
- π Service - Building public infrastructure for the ecosystem
Technical Achievements:
- POSIX-compliant shell script (works everywhere)
- Idempotent installation (safe reruns)
- Comprehensive error handling
- Cross-platform package manager detection
Lessons Learned:
- Shell scripting is powerful for automation
- Dependency hell is realβhandle it carefully
- User experience matters for developer tools
- Good defaults > configuration options
Phase 1: Core Installer β (Jul 2025)
- Linux support (Ubuntu, Debian)
- macOS support
- Basic error handling
- Documentation
Phase 2: Enhancements π§ (Nov-Dec 2025)
- Windows WSL2 detection and support
- Docker installation option
- Auto-update mechanism
- Interactive configuration wizard
Phase 3: Ecosystem π (Q1 2026)
- Support for recMEV plugins
- Multi-node cluster setup
- Monitoring dashboard installer
- Community package repository
recMEV Installer is community infrastructureβcontributions welcome!
How to help:
- π§ Test on different Linux distros
- π Test on macOS versions (Intel/M1/M2)
- π Report bugs and edge cases
- π Improve documentation
- β¨ Add features (Docker support, etc.)
Guidelines:
- Fork repository
- Create feature branch (
git checkout -b feature/DockerSupport) - Test on multiple platforms
- Commit with clear messages (
git commit -m 'feat: Add Docker installation') - Push and open Pull Request
MIT License (open source for community benefit)
- recMEV Team - For building the core pool discovery tool
- Rust Community - For excellent tooling (rustup, cargo)
- Solana Foundation - For the Solana CLI
- Shell Script Community - For POSIX best practices
- π rectorspace.com
- π @rz1989s
- ποΈ RECTOR-LABS
- π οΈ recMEV Backend Installer
Common Issues:
1. Permission Denied
chmod +x install.sh
./install.sh2. Rust Not Found After Install
source ~/.cargo/env3. PostgreSQL Connection Failed
sudo systemctl start postgresql4. Port Already in Use
# Edit ~/recMEV/.env and change PORT=8080 to another port5. RPC Rate Limit
# Get your own RPC from Helius, QuickNode, etc.
# Edit ~/recMEV/.env: SOLANA_RPC_URL=https://your-rpc-urlStill stuck? Open an issue with install.log attached.
Built with Bismillah π
May this tool empower developers and democratize MEV. Aamiin.
ποΈ RECTOR LABS | Building for Eternity | 2025