https://github.com/bitfancy/4m-solana-arbitrage
solana arbitrage bot multi dexs rust
https://github.com/bitfancy/4m-solana-arbitrage
arbitrage arbitragebot dex jupiter meteora orca raydium rust solana
Last synced: about 1 month ago
JSON representation
solana arbitrage bot multi dexs rust
- Host: GitHub
- URL: https://github.com/bitfancy/4m-solana-arbitrage
- Owner: BitFancy
- Created: 2025-02-14T17:05:43.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-14T18:10:51.000Z (8 months ago)
- Last Synced: 2025-02-14T18:33:28.260Z (8 months ago)
- Topics: arbitrage, arbitragebot, dex, jupiter, meteora, orca, raydium, rust, solana
- Language: Rust
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Solana Raydium Sniper Bot
A Rust-based trading bot for Solana blockchain that monitors and executes trades based on specified target prices.
## Prerequisites
- [Rust](https://www.rust-lang.org/tools/install) (1.70.0 or higher)
- [Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) (comes with Rust)
- Solana wallet with funds## Quick Start
1. **Clone and Install**
```bash
git clone [your-repository-url]
cd [project-directory]
```2. **Configure Environment**
Create a `.env` file in the root directory:
```env
TARGET_PRICE=0.000000000000001
TARGET_ADDRESS=Bb5dXLex6oPhmsUs7BNAqrjv5bohCySgJpoCWHTdrWnu
RPC_URL=https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY
```3. **Build and Run**
```bash
# Build the project
cargo build# Run in development mode
cargo run# Or build and run in release mode for better performance
cargo build --release
cargo run --release
```## Environment Variables
| Variable | Description | Required |
|----------|-------------|----------|
| `TARGET_PRICE` | The target price for trading | Yes |
| `TARGET_ADDRESS` | Your target pool address | Yes |
| `RPC_URL` | Solana RPC endpoint URL | Yes |