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

https://github.com/flock4h/rayozaurusdex

Raydium Sniper Bot - Solana trading bot made specifically for buying newest entries
https://github.com/flock4h/rayozaurusdex

crypto-bot jupiter-swaps raydium-bot raydium-sniper-bot raydium-trading-bot solana solana-trading-bot

Last synced: 2 months ago
JSON representation

Raydium Sniper Bot - Solana trading bot made specifically for buying newest entries

Awesome Lists containing this project

README

        

# Rayozaurus Dex

**Raydium DeX Sniper Bot** that catches CLMM, CPMM, Standard AMM, and Pump.fun: Raydium Migration liquidity pool creations, listens for balance changes on their respective pool accounts to calculate real-time price, and checks `Dexscreener` for active boosts.

**If this comes useful and you feel like supporting here is my SOL wallet address:**

`3oFDwxVtZEpSGeNgdWRiJtNiArv4k9FiMsMz3yjudgeS`

**Thanks 💙**

**Telegram group: [FLOCK4H.CAVE](https://t.me/flock4hcave)**

**Discord server: [Discord](https://discord.gg/thREUECv2a)**

# Overview

In this project, [helius.dev](https://www.helius.dev) and [quicknode.com](https://quicknode.com) are used.
Helius is being used for RPC websocket connection, where Quicknode serves us as a Jupiter Swap API.
It is not required at all, but the project in current state requires it, therefore if you're using different provider, adjust the code accordingly.

# Setup

Libraries

- Solders=0.21.0
- Solana=0.35.1
- aiohttp
- base64, base58

Download

```
$ git clone https://github.com/FLOCK4H/RayozaurusDex
```

Before launching

**Modify `.config` file:**

```
HL_API_KEY=YOUR_API_KEY
WALLET_ADDRESS=YOUR_WALLET_ADDRESS
PRIVATE_KEY=YOUR_PRIVATE_KEY
```

**Change relevant places in code:**

```
-> common_.py
QN_WS = "wss://jupiter-swap-api.quiknode.pro/B6XDDDDDDDD/ws"

-> rayozaur.py
amount = await usd_to_lamports(1, self.swaps.sol_price_usd) if trust_level == 1 else await usd_to_lamports(1, self.swaps.sol_price_usd)
fee = await usd_to_lamports(0.07, self.swaps.sol_price_usd)

When to enter part:
in_entry_range = await self.determine_safe_range(buy_to_sell, price_len)
if "buy_price" not in self.mint_data[mint] and not session_meta["bought"]:
if in_entry_range and diffs_threshold:
if change_pct >= 80:

```

# Usage

```
$ python rayozaur.py
```

# License

Copyright (c) 2025 FLOCK4H

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.