https://github.com/capybara003/solana-trading-bot-dexs
A high-performance Solana arbitrage trading bot that scans multiple DEXs in real time and executes profitable trades automatically.
https://github.com/capybara003/solana-trading-bot-dexs
arbitrage arbitragebot bot dex solana swap token trading web3
Last synced: 29 days ago
JSON representation
A high-performance Solana arbitrage trading bot that scans multiple DEXs in real time and executes profitable trades automatically.
- Host: GitHub
- URL: https://github.com/capybara003/solana-trading-bot-dexs
- Owner: Capybara003
- License: mit
- Created: 2025-03-11T12:46:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-12T05:02:05.000Z (over 1 year ago)
- Last Synced: 2025-10-26T19:26:29.437Z (8 months ago)
- Topics: arbitrage, arbitragebot, bot, dex, solana, swap, token, trading, web3
- Language: Rust
- Homepage:
- Size: 1.85 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **Solana Arbitrage Trading Bot** 🚀
A high-performance **on-chain & off-chain arbitrage bot** for Solana-based **DEXs**, designed to identify and execute profitable trades across multiple liquidity pools in real time.
---
## **📂 Folder Structure**
- `offchain/` → Off-chain arbitrage bot logic for scanning and executing opportunities
- `swap/` → On-chain swap program for executing trades efficiently
- `pools/` → Metadata for decentralized exchange (DEX) liquidity pools
- `onchain/` → Analytical tools for tracking and optimizing on-chain arbitrage strategies
- `mainnet/` → Forked **mainnet state** for simulating swap estimates before execution
---
## **⚡ Features & Capabilities**
✅ **Real-time Arbitrage Scanning** – Tracks price discrepancies across multiple Solana-based DEXs
✅ **Automated Swap Execution** – Smart contract-powered on-chain execution with optimized slippage management
✅ **Gas & Slippage Optimization** – Reduces transaction costs and maximizes profit margins
✅ **Mainnet Fork Simulation** – Pre-tests trade execution in a forked environment before deploying real capital
✅ **Multi-DEX Support** – Integrated with major Solana DEXs for maximum trading efficiency
---
## **🛠️ Supported DEXs**
### **Current Version** (Standard Arbitrage)
🔹 Serum
🔹 Aldrin
🔹 Saber
🔹 Mercurial
🔹 Orca
### **Advanced Version** (Enhanced Efficiency & More DEXs)
🔹 Raydium
🔹 Meteora
🔹 Serum
🔹 Aldrin
🔹 Saber
🔹 Mercurial
🔹 Orca
---
## **⚙️ Setup & Deployment**
1. **Clone the Repository**
```sh
git clone https://github.com/Capybara003/Solana-Trading-bot-DEXs.git
cd Solana-Trading-bot-DEXs
```
2. Install Dependencies
```sh
npm install
```
3. Configure Environment Variables
Create a `.env` file and set your private key, RPC endpoints, and API keys
4. Run Arbitrage Scanner
```sh
npm run start
```
5. Deploy On-Chain Swap Program (for Solana)
```sh
solana program deploy swap/
```