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

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

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 |