SolanaMevBot
  • 🤖SolanaMevBot - Solana Arbitrage Bot
    • 📘Blog
      • The Current Landscape of MEV on Solana
      • How to Frontrun on Solana: A Step-by-Step Guide
    • đŸ’ĩFees
  • Onchain Bot
    • â„šī¸How this bot work
    • đŸ› ī¸Getting started
    • â›“ī¸Onchain program
    • 🔍Address lookup table
    • 📝Bot configurations
      • 📚Config examples
  • 🚀Releases
  • â€ŧī¸Trouble shooting
  • 💹Performance tuning
  • Onchain Bot Dashboard
  • Jupiter Bot
    • â„šī¸How this bot work
    • đŸ› ī¸Getting started
    • 📝Bot configurations
      • 📚Config examples
    • 🔡Common workflow
    • 💹Performance tuning
    • 🧩Bot Strategy
    • â€ŧī¸Trouble shooting
    • 🚀Releases
    • ❓FAQ
    • Dashboard
  • Community
    • Discord
Powered by GitBook
On this page
  1. Jupiter Bot

Getting started

PreviousHow this bot workNextBot configurations

Last updated 2 months ago

Technically there's no minimum requirement for SOL amount to use the bot. But it's recommended to have at least 0.2 SOL when you follow this guide to setup a demo config.

Step1: Get a private RPC

Make sure you find a private RPC, public ones won't work for this bot.

Step 2: Get a Linux machine

The bot runs on linux, so you need to either rent one or use your own. The recommended hardware is 4 core/32GB RAM at least.

To be able to run the bot smoothly, recommend running with Ubuntu 22. You will run into issues with Ubuntu 20. WSL on windows is known to have issue and not working well with the bot.

Step 3: Download and unzip

Download

First ssh into your Linux machine, then download the zip file for the latest release.

The latest release can be found here:

Create a new folder for the bot

mkdir bot
cd bot

Install wget

sudo apt update
sudo apt install wget

Download using wget. Note you should replace the link with the one in the latest release:

wget https://sourceforge.net/projects/solanamevbot/files/solana-mev-bot-1.3.23.zip

Install unzip

sudo apt update
sudo apt install unzip

Unzip the file(replace the file name with the one you downloaded)

unzip solana-mev-bot-1.3.23.zip

Upgrade to the latest version

./upgrade.sh

Check if everything is unzipped correctly

ls

You should see at least the following files after running ls

config.yaml.example

download

kill-jup.sh

bot

run.sh

debug.sh

jupiter-swap-api

Step 4: Config and Run

Prepare

Install the needed packages

sudo apt-get install lsof

Setup

You need to make a few changes to the config files before running the bot

Create a new file called config.yaml, copy the config from and fill in the needed fields. Make sure your wallet has the amount of SOL/USDC/USDT needed, or remove the according config as you need.

It's highly recommended to start with the demo account config and only change the trade size as you see fit. A lot of things can go wrong and cause you to land nothing if you try to setup a config yourself.

Edit your config.yaml file. You can use either or

nano config.yaml

When using nano, at the bottom of the window, there is a list of the most basic command shortcuts to use with the nano editor.

All commands are prefixed with either ^ or M characters. The caret symbol (^) represents the Ctrl key. For example, the ^X commands mean to press the Ctrl and X keys at the same time. The letter M represents the Alt key.

config.yaml.example file is an example file to tell you how to set all the configs. DO NOT USE IT AS YOUR CONFIG IT WON'T WORK.

Last step, give permissions to the bot to run

chmod +x *

Now you are all set to run!

To run the bot, simply do the following:

./run.sh

Then you should see the bot setup everything and start running!

You can find a more detailed configuration guide in Bot configuration and .

Join the to learn how to optimize your setup with other users!

Step 5: Run bot in background

When you ssh into a remote machine and run the bot, once you close the terminal, the bot will stop running. This section shows you how to run it even when your terminal is closed.

Create a screen session, called bot

screen -S bot

Now you are in a screen session. To verify, run

screen -ls

You should see something like the following:

There are screens on:
        1059895.bot (05/23/24 03:11:34) (Attached)

Attached means you are now in this screen session.

Now you can run the bot as shown above, which will run the bot inside the bot session, and it won't stop running even if you close the terminal!

./run.sh

Once you close your terminal and reconnect, run the following to open the previous created session.

screen -r bot

To fully close it, run

screen -X -S bot quit

Make sure you don't have 2 sessions both running the bot together, or the bot will fail to run.

To exit a screen session while you are attached, press ctrl+a, then d

Step 6: Join Discord

Join our discord to learn how to boost your profit!

Step 7: Handle your firewall rules properly

The bot will start a local Jup, with 18080 port by default. If you do not setup rules properly other spammer may steal your endpoint and use it for free.

Here's an example(which will reset on restart)

sudo iptables -I INPUT -p tcp --dport 18080 ! -i lo -j DROP

đŸ› ī¸
https://discord.gg/solanamevbot
Releases
vim
nano
Performance tuning
Discord
Demo account config