An open API service indexing awesome lists of open source software.

https://github.com/happylifedev/abitragebot

An advanced, non-custodial Solana arbitrage bot powered by Jupiter Aggregator V6. It scans DEXs in real time, builds multi-leg swap routes, and executes instant, MEV-protected trades for passive yield. Features include local routing, transaction racing, and QuickNode integration for ultra-fast, secure performance.
https://github.com/happylifedev/abitragebot

arbitrage bot dex jupiter solana trading

Last synced: 21 days ago
JSON representation

An advanced, non-custodial Solana arbitrage bot powered by Jupiter Aggregator V6. It scans DEXs in real time, builds multi-leg swap routes, and executes instant, MEV-protected trades for passive yield. Features include local routing, transaction racing, and QuickNode integration for ultra-fast, secure performance.

Awesome Lists containing this project

README

          

# πŸš€ Jupiter Arbitrage Bot v1πŸš€

Tired of memecoin plays like sniping, bundling, or copy trading ?
Step up your game with real yield.

---

### Introducing the Arbitrage Bot powered by Jupiter Aggregator V6

#### Your gateway to automated, real-time profit on Solana.

- πŸ’° Passive Gains β€” Capture price discrepancies across top Solana DEXs effortlessly.
- ⚑ Blazing Fast β€” Executes trades at lightning speed using Jupiter’s deep liquidity & smart routing.
- 🧠 Always-On Intelligence β€” Scans markets 24/7 with MEV protection and auto-execution.
- πŸ”’ Secure by Design β€” Fully non-custodial. Open-source. You control your keys.
- πŸ› οΈ Plug & Play β€” Zero coding needed. Deploy and let it run.

---

### Contact to Developer

For support and further inquiries, please connect via Telegram: πŸ“ž [0xalberto](https://t.me/soladity)

---

## βš™οΈ How It Works

1️⃣ Fetch Route 1: Find the optimal path from TOKEN1 β†’ TOKEN2 using Jupiter Aggregator.

2️⃣ Fetch Route 2: Find the return path from TOKEN2 β†’ TOKEN1.

3️⃣ Combine Routes: Merge both routes into a single arbitrage cycle.

4️⃣ Get Swap Quote: Retrieve pricing data for the combined trade to evaluate profitability.

5️⃣ Parse Quotes: Decode Quote1 and Quote2 for execution details.

6️⃣ Parse Instructions: Extract raw swap instructions from both legs.

7️⃣ Merge Instructions: Bundle them into a single seamless instruction flow.

8️⃣ Build Transaction: Construct a Solana transaction with all instructions.

9️⃣ Upgrade Format: Convert from legacy to versioned transaction (v0) for better efficiency.

πŸ”Ÿ Send & Confirm: Broadcast and confirm the transaction on-chain.

## My Transaction

- [WSOL -> WSOL](https://solscan.io/tx/4SWQPhWbzAPyCgwk5g7frohM6FfeffgUg3occX2zzhCLpQuDxzmhEgb4dNiT914NfRT4JTYjq9n5aViAs3iwb9PU)

![image](https://github.com/user-attachments/assets/b97e460d-9f33-4b79-99f3-969fc3c7e9e3)

## πŸ› οΈ Advanced Upgrades: Smarter, Faster Arbitrage
### πŸ› οΈ Self-Hosted Routing
Run your own Jupiter routing engine locally or on your backend for full control:

- πŸ” Customize pathfinding logic

- βœ… Whitelist preferred DEXes or LPs

- β›” Exclude low-liquidity or risky tokens

- 🧠 Simulate arbitrage cycles before submitting on-chain

- πŸš€ Optimize profit targeting, latency, and fallback logic

```
No rate limits, no external dependencies β€” you're in full control.
```

### ⚑ Powered by QuickNode (RPC + WebSockets)
Supercharge your bot with QuickNode’s premium Solana RPC and WebSocket infrastructure:

- πŸ“‘ Low-latency RPC calls – Fast route fetching, transaction building, and confirmation

- πŸ“₯ Real-time Account/Slot/Block Subscriptions – Stay in sync with market events as they happen

- 🧭 Better uptime & rate limits – Compared to public RPCs, QuickNode ensures consistent performance

- πŸ•΅οΈβ€β™‚οΈ Monitor token price movement and liquidity changes instantly via WebSocket

### 🧠 Enhanced Arbitrage Logic
Introducing the Upgraded Jupiter Arbitrage Bot β€” now with smart contract logic and dynamic route optimization.

![image](https://github.com/user-attachments/assets/6692ceaa-af11-458a-ba8c-c4f819435364)

- Custom Route Construction

- Combined Multi-Leg Swaps

- Dynamic Instruction Building

- Optimized Versioned Transactions

### ⚑ Racing Transaction Confirmation
What is Racing?
Solana has multiple transaction confirmation gateways, including:

`Jito`, `Nextblock`, `Bloxroute`, `0Slot`, `Solayer`, `RPCFast`

### Instead of waiting for one, we race them all.

🏁 How It Works

- 1️⃣ Simultaneously broadcast the same transaction to all supported gateways.

- 2️⃣ Whichever confirms first wins, locking in the profit.

- 3️⃣ Remaining transactions are auto-failed or canceled to prevent duplicates or slippage.

βœ… Why Racing?

- Reduces latency

- Increases fill rate

- Avoids getting front-run

- Improves arbitrage success rate

## Supported Dex
| **Dex** | **Address** |
| --------------------- | ------------- |
[Raydium](https://solscan.io/account/675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8) | 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 |
[Raydium CLMM](https://solscan.io/account/CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK) | CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK |
[Raydium CP](https://solscan.io/account/CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C) | CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C |
[Meteora](https://solscan.io/account/Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB) | Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB |
[Meteora DLMM](https://solscan.io/account/LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo) | LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo |
[Whirlpool](https://solscan.io/account/whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc) | whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc |
[Orca V1](https://solscan.io/account/DjVE6JNiYqPL2QXyCUUh8rNjHrbz9hXHNYt99MQ59qw1) | DjVE6JNiYqPL2QXyCUUh8rNjHrbz9hXHNYt99MQ59qw1 |
[Orca V2](https://solscan.io/account/9W959DqEETiGZocYWCQPaJ6sBmUzgfxXfqGeTEdp3aQP) | 9W959DqEETiGZocYWCQPaJ6sBmUzgfxXfqGeTEdp3aQP |
[1DEX](https://solscan.io/account/DEXYosS6oEGvk8uCDayvwEZz4qEyDJRf9nFgYCaqPMTm) | DEXYosS6oEGvk8uCDayvwEZz4qEyDJRf9nFgYCaqPMTm |
[Lifinity V2](https://solscan.io/account/2wT8Yq49kHgDzXuPxZSaeLaH1qbmGXtEyPy64bL7aD3c) | 2wT8Yq49kHgDzXuPxZSaeLaH1qbmGXtEyPy64bL7aD3c |
[Saber](https://solscan.io/account/SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ) | SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ |
[Mercurial](https://solscan.io/account/MERLuDFBMmsHnsBPZw2sDQZHvXFMwp8EdjudcU2HKky) | MERLuDFBMmsHnsBPZw2sDQZHvXFMwp8EdjudcU2HKky |
[Virtuals](https://solscan.io/account/5U3EU2ubXtK84QcRjWVmYt9RaDyA8gKxdUrPFXmZyaki) | 5U3EU2ubXtK84QcRjWVmYt9RaDyA8gKxdUrPFXmZyaki |
[ZeroFi](https://solscan.io/account/ZERor4xhbUycZ6gb9ntrhqscUcZmAbQDjEAtCf4hbZY) | ZERor4xhbUycZ6gb9ntrhqscUcZmAbQDjEAtCf4hbZY |
[Saber (Decimals)](https://solscan.io/account/DecZY86MU5Gj7kppfUCEmd4LbXXuyZH1yHaP2NTqdiZB) | DecZY86MU5Gj7kppfUCEmd4LbXXuyZH1yHaP2NTqdiZB |
[Obric V2](https://solscan.io/account/obriQD1zbpyLz95G5n7nJe6a4DPjpFwa5XYPoNm113y) | obriQD1zbpyLz95G5n7nJe6a4DPjpFwa5XYPoNm113y |
[Openbook](https://solscan.io/account/srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX) | srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX |
[DexLab](https://solscan.io/account/DSwpgjMvXhtGn6BsbqmacdBZyfLj6jSWf3HJpdJtmg6N) | DSwpgjMvXhtGn6BsbqmacdBZyfLj6jSWf3HJpdJtmg6N |
[Bonkswap](https://solscan.io/account/BSwp6bEBihVLdqJRKGgzjcGLHkcTuzmSo1TQkHepzH8p) | BSwp6bEBihVLdqJRKGgzjcGLHkcTuzmSo1TQkHepzH8p |
[StepN](https://solscan.io/account/Dooar9JkhdZ7J3LHN3A7YCuoGRUggXhQaG4kijfLGU2j) | Dooar9JkhdZ7J3LHN3A7YCuoGRUggXhQaG4kijfLGU2j |
[Saros](https://solscan.io/account/SSwapUtytfBdBn1b9NUGG6foMVPtcWgpRU32HToDUZr) | SSwapUtytfBdBn1b9NUGG6foMVPtcWgpRU32HToDUZr |
[Solayer](https://solscan.io/account/endoLNCKTqDn8gSVnN2hDdpgACUPWHZTwoYnnMybpAT) | endoLNCKTqDn8gSVnN2hDdpgACUPWHZTwoYnnMybpAT |
[FluxBeam](https://solscan.io/account/FLUXubRmkEi2q6K3Y9kBPg9248ggaZVsoSFhtJHSrm1X) | FLUXubRmkEi2q6K3Y9kBPg9248ggaZVsoSFhtJHSrm1X |
[Penguin](https://solscan.io/account/PSwapMdSai8tjrEXcxFeQth87xC4rRsa4VA5mhGhXkP) | PSwapMdSai8tjrEXcxFeQth87xC4rRsa4VA5mhGhXkP |
[Sanctum Infinity](https://solscan.io/account/5ocnV1qiCgaQR8Jb8xWnVbApfaygJ8tNoZfgPwsgx9kx) | 5ocnV1qiCgaQR8Jb8xWnVbApfaygJ8tNoZfgPwsgx9kx |
[Phoenix](https://solscan.io/account/PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY) | PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY |
[Daos.fun](https://solscan.io/account/5jnapfrAN47UYkLkEf7HnprPPBCQLvkYWGZDeKkaP5hv) | 5jnapfrAN47UYkLkEf7HnprPPBCQLvkYWGZDeKkaP5hv |
[Pump.fun Amm](https://solscan.io/account/pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA) | pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA |
[GooseFX GAMMA](https://solscan.io/account/GAMMA7meSFWaBXF25oSUgmGRwaW6sCMFLmBNiMSdbHVT) | GAMMA7meSFWaBXF25oSUgmGRwaW6sCMFLmBNiMSdbHVT |
[SolFi](https://solscan.io/account/SoLFiHG9TfgtdUXUjWAxi3LtvYuFyDLVhBWxdMZxyCe) | SoLFiHG9TfgtdUXUjWAxi3LtvYuFyDLVhBWxdMZxyCe |
[Invariant](https://solscan.io/account/HyaB3W9q6XdA5xwpU4XnSZV94htfmbmqJXZcEbRaJutt) | HyaB3W9q6XdA5xwpU4XnSZV94htfmbmqJXZcEbRaJutt |
[Cropper](https://solscan.io/account/H8W3ctz92svYg6mkn1UtGfu2aQr2fnUFHM1RhScEtQDt) | H8W3ctz92svYg6mkn1UtGfu2aQr2fnUFHM1RhScEtQDt |
[Crema](https://solscan.io/account/CLMM9tUoggJu2wagPkkqs9eFG4BWhVBZWkP1qv3Sp7tR) | CLMM9tUoggJu2wagPkkqs9eFG4BWhVBZWkP1qv3Sp7tR |
[Stabble Stable Swap](https://solscan.io/account/swapNyd8XiQwJ6ianp9snpu4brUqFxadzvHebnAXjJZ) | swapNyd8XiQwJ6ianp9snpu4brUqFxadzvHebnAXjJZ |
[Oasis](https://solscan.io/account/9tKE7Mbmj4mxDjWatikzGAtkoWosiiZX9y6J4Hfm2R8H) | 9tKE7Mbmj4mxDjWatikzGAtkoWosiiZX9y6J4Hfm2R8H |
[Guacswap](https://solscan.io/account/Gswppe6ERWKpUTXvRPfXdzHhiCyJvLadVvXGfdpBqcE1) | Gswppe6ERWKpUTXvRPfXdzHhiCyJvLadVvXGfdpBqcE1 |
[OpenBook V2](https://solscan.io/account/opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb) | opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb |
[Pump.fun](https://solscan.io/account/6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P) | 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P |
[Token Mill](https://solscan.io/account/JoeaRXgtME3jAoz5WuFXGEndfv4NPH9nBxsLq44hk9J) | JoeaRXgtME3jAoz5WuFXGEndfv4NPH9nBxsLq44hk9J |
[Moonshot](https://solscan.io/account/MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG) | MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG |
[Aldrin V2](https://solscan.io/account/CURVGoZn8zycx6FXwwevgBTB2gVvdbGTEpvMJDbgs2t4) | CURVGoZn8zycx6FXwwevgBTB2gVvdbGTEpvMJDbgs2t4 |
[Token Swap](https://solscan.io/account/SwaPpA9LAaLfeLi3a68M4DjnLqgtticKg6CnyNwgAC8) | SwaPpA9LAaLfeLi3a68M4DjnLqgtticKg6CnyNwgAC8 |
[Perena](https://solscan.io/account/NUMERUNsFCP3kuNmWZuXtm1AaQCPj9uw6Guv2Ekoi5P) | NUMERUNsFCP3kuNmWZuXtm1AaQCPj9uw6Guv2Ekoi5P |
[Aldrin](https://solscan.io/account/AMM55ShdkoGRB5jVYPjWziwk8m5MpwyDgsMWHaMSQWH6) | AMM55ShdkoGRB5jVYPjWziwk8m5MpwyDgsMWHaMSQWH6 |
[Perps](https://solscan.io/account/PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu) | PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu |
[Helium Network](https://solscan.io/account/treaf4wWBBty3fHdyBpo35Mz84M8k3heKXmjmi9vFt5) | treaf4wWBBty3fHdyBpo35Mz84M8k3heKXmjmi9vFt5 |
[Stabble Weighted Swap](https://solscan.io/account/swapFpHZwjELNnjvThjajtiVmkz3yPQEHjLtka2fwHW) | swapFpHZwjELNnjvThjajtiVmkz3yPQEHjLtka2fwHW |
[Sanctum](https://solscan.io/account/stkitrT1Uoy18Dk1fTrgPw8W6MVzoCfYoAFT4MLsmhq) | stkitrT1Uoy18Dk1fTrgPw8W6MVzoCfYoAFT4MLsmhq |