Brew-MEV is an open-source MEV (Maximal Extractable Value) trading bot built for the Solana blockchain. It provides both a CLI interface and a modern web dashboard to monitor and control your trading strategies.
- Overview
- Features
- Tech Stack
- Project Status
- Getting Started
- Usage
- Security
- Roadmap
- Contributing
- License
Brew-MEV is designed to help traders capitalize on MEV opportunities in the Solana ecosystem. The bot monitors transactions and market conditions to identify profitable arbitrage opportunities, frontrunning possibilities, and other MEV strategies.
The project includes:
- ๐ฅ๏ธ CLI interface for terminal-based control
- ๐ Modern web dashboard for visual monitoring and management
- ๐ Secure wallet management with encrypted private keys
- โ๏ธ Customizable trading parameters
- ๐ Multi-DEX integration (Raydium, Jupiter)
-
Secure Wallet Management
- Create and import Solana wallets
- Private keys are encrypted in storage
- QR code generation for deposits
-
Dashboard Interface
- Modern UI with dark/light mode
- Real-time wallet balance display
- Bot status monitoring
-
CLI Interface
- Interactive command-line interface
- Full wallet management
- Strategy configuration
-
Trading Settings
- Market cap filtering
- Stop-loss and take-profit settings
- Automated buy parameters
- DEX selection (Pump.FUN, Raydium, Jupiter)
-
Security
- AES-256 encryption for private keys
- Environment-specific encryption key generation
- Automatic migration from plaintext to encrypted format
-
Trading Algorithms
- Arbitrage opportunity detection
- Sandwich attack protection
- Token scanning is currently simulated
-
Performance Monitoring
- Historical transaction data
- Profit/loss tracking
- Performance analytics
-
DEX Integration
- Complete integration with Jupiter API
- Raydium real-time data fetching
-
Advanced Strategies
- Machine learning for strategy optimization
- Historical data analysis
- Strategy backtesting
-
Risk Management
- Advanced stop-loss mechanisms
- Portfolio diversification
- Capital allocation optimization
-
Liquidity Pool Monitoring
- LP position optimization
- Impermanent loss protection
-
Community Features
- Strategy sharing marketplace
- Community performance leaderboards
- Customizable strategy templates
- Next.js 14 - React framework with SSR and app router
- TypeScript - Type-safe JavaScript
- TailwindCSS - Utility-first CSS framework
- Shadcn/ui - Reusable and accessible UI components
- Lucide Icons - Beautiful SVG icons
- Node.js - JavaScript runtime
- Next.js API Routes - Serverless API endpoints
- Solana Web3.js - Solana blockchain interaction
- Crypto-js - Client-side encryption
- AES-256 - Advanced Encryption Standard
- Inquirer - Interactive command-line user interfaces
- Chalk - Terminal styling
- Figlet - ASCII art text generation
Brew-MEV is currently in alpha stage development. The core infrastructure, UI, and wallet management are functional, but the actual MEV strategies and trading algorithms are still being developed and tested.
| Component | Status | Description |
|---|---|---|
| Web Dashboard | โ | Fully functional with modern UI |
| Wallet Management | โ | Complete with encryption |
| CLI Interface | โ | Fully operational |
| Settings Management | โ | Complete with persistence |
| Trading Algorithms | ๐ก | Under active development |
| DEX Integration | ๐ก | Partially implemented |
| Performance Analytics | ๐ก | Basic implementation, needs enhancement |
| Risk Management | ๐ด | Planned for future releases |
- Node.js 16+ and npm
- Basic understanding of Solana blockchain
- (Optional) Solana CLI tools
-
Clone the repository
git clone https://github.com/yourusername/brew-mev.git cd brew-mev -
Install dependencies
npm install
-
Run the development server
npm run dev
-
For CLI interface
npm run cli
- Open your browser to http://localhost:3000
- Create a new wallet or import an existing one
- Configure your trading settings
- Start the bot and monitor performance
The CLI provides an interactive interface with the following options:
- View wallet information
- Generate deposit QR code
- Check balance
- Start/stop the bot
- Configure settings
- Create/import wallets
Example:
npm run cliBrew-MEV takes security seriously, especially when handling private keys:
- Private keys are encrypted using AES-256 before storage
- Encryption keys are derived from a combination of factors unique to the user's environment
- Keys are only decrypted in memory when needed for transactions
- No plaintext keys are stored or displayed in the UI
We love contributions! Brew-MEV is an open-source project and welcomes developers of all skill levels.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
See CONTRIBUTING.md for more information.
We're building on Solana because:
- ๐ Incredible transaction speed and throughput
- ๐ฐ Low transaction fees
- ๐ฑ Growing ecosystem of projects and developers
- ๐ง Robust developer tools and documentation
This project is licensed under the MIT License - see the LICENSE file for details.
โ ๏ธ Important:** Always verify transaction details before confirming. This is alpha software, use at your own risk.
Built with โค๏ธ for the Solana community.
