Welcome to the Solana Raydium Pool Tracking Trading Bot! This is a Rust-based trading bot designed specifically for monitoring and trading on Raydium pools within the Solana blockchain. The bot continuously tracks market prices and executes trades based on specified target prices that you can set in the configuration.
- Monitors prices from Raydium Automated Market Maker (AMM) pools. π
- Supports liquidity pool price tracking for different models: CLMM (Constant Product Market Maker) and CPMM (Constant Mean Market Maker). π
- Executes trades when the pool price exceeds your predefined target price. π°
- Highly configurable via a .env file. βοΈ
- Rust Version: The bot is developed with Rust 1.84. Ensure you have this version or later installed on your machine to run the bot smoothly.
To get started, create a .env file in the root directory of the project and populate it with the following variables:
TARGET_PRICE=0.000000000000001
TARGET_ADDRESS=
MINT_ADDRESS=
RPC_URL=
PRIVATE_KEY=
SLIPPAGE=
JITO_BLOCK_ENGINE_URL=
JITO_TIP_STREAM_URL=
JITO_TIP_PERCENTILE=
JITO_TIP_VALUE=
- TARGET_PRICE: The price at which you want the bot to execute trades. π΅
- TARGET_ADDRESS: The pool address where you want to execute the trades. π
- MINT_ADDRESS: The token mint address for the asset you are trading. πͺ
- RPC_URL: The URL for the Solana JSON RPC endpoint. π
- PRIVATE_KEY: Your private key for wallet access (ensure this is kept secure). π
- SLIPPAGE: The maximum acceptable slippage for trades. π
- JITO_BLOCK_ENGINE_URL: URL for Jito block engine integration. π
- JITO_TIP_STREAM_URL: URL for receiving tips via Jito stream. πΈ
- JITO_TIP_PERCENTILE: Desired percentile for tips. π―
- JITO_TIP_VALUE: Value of the tip to be used. π‘
-
Clone the repository to your local machine. π₯
-
Ensure that you have Rust 1.84 installed. π οΈ
-
Configure the
.envfile as described above. π -
Build and run the bot using Cargo:
cargo build cargo run
-
The bot will start monitoring the prices and execute trades based on your configuration. π¦
If you are interested in this repository, feel free to πͺforkπͺ it and give me a big star! βββ Your support is much appreciated and helps improve the project further. π
Thank you for considering contributing to this project! π