Skip to content

Solana Arbitrage Bot on several dexes including Raydium AMM, CPMM and CLMM, Fluxbeam, Meteora AMM and DLMM, Orca Whirlpool and OpenbookV2.

Notifications You must be signed in to change notification settings

HereForYou/Smart-Solana-Arbitrage-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart 🦊 Solana Arbitrage Bot 🤖

Description

Smart Solana Arbitrage Bot is a sophisticated arbitrage trading bot designed to operate on the Solana blockchain. Built using TypeScript, this bot intelligently monitors multiple decentralized exchanges (DEXs) including Raydium, Meteora, Orca, and Fluxbeam to identify and capitalize on profitable arbitrage opportunities in real-time.

Features

⚡️ Multi-DEX Integration
⚡️ Real-Time Price Monitoring
⚡️ Fast Execution
⚡️ Customizable Parameters
⚡️ Risk Management

How to set this bot 🔧

Start bot

Enter /start to start and create your wallet.

/start

This command registers you and creates your own wallet to use this bot.

Set configuration to control the bot actions

Enter /setting command or click setting button

/setting

If so, there are buttons to set the parameters to use this bot.

  1. Click Wallet (...) button to see the wallet address and private key.

  2. Click Amount: ... SOL button to set the amount for trade.

  3. Click Priority Fee: ... lamport button to set the fee for executing transaction.

  4. Click Jito Fee: ... button to set the jito fee.

  5. Click Slippage Bps: ... button to set the slippage.
    Note 1 slippage Bps = 0.01%

Save the token list you want to trade.

Copy the token list on ./config/tokens.ts file in the following format.

{
    address: 'Address of token',
},

Start arbitrage

Enter /arbitrage command to start trade.

/arbitrage

Getting Started 🚀

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites 📋

You'll need Git and Node.js (which comes with NPM) installed on your computer.

Also, you can use Yarn instead of NPM ☝️


Creating a bot 🤖

  1. Search for the BotFather.

  2. Send the message /start to the BotFather.

  3. Send /newbot.

  4. Give the bot a name e.g testing_xyz.

  5. Give the bot a username testing_xyz_bot.

  6. Now capture the HTTP API token it's very important!

  7. Copy API token into .env file.

  8. Now search for the bot name testing_xyz and send a message to the bot contact.

Using NPM: Simply run the below commands.

# Install dependencies
$ npm install

# Start the development server
$ npm run dev

Using Yarn: Be aware of that you'll need to delete the package-lock.json file before executing the below commands.

# Install dependencies
$ yarn

# Start the development server
$ yarn start

NOTE: If your run into issues installing the dependencies with NPM, use this below command:

# Install dependencies with all permissions
$ sudo npm install --unsafe-perm=true --allow-root

About

Solana Arbitrage Bot on several dexes including Raydium AMM, CPMM and CLMM, Fluxbeam, Meteora AMM and DLMM, Orca Whirlpool and OpenbookV2.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •