floppy-diskInstallation

This guide assumes you’re running FOMO on a Linux server (recommended). If you don’t have the latest build yet, grab it from: https://discord.gg/Ky9CY5GhMwarrow-up-right

You can publish your site and find related settings from your docs site's homepage.

SSH into your server

From your local machine, connect to your Linux server first. Once you’re in, continue with the steps below.

ssh root@<YOUR_SERVER_IP>

Install essential tools

apt update
apt install -y curl wget git build-essential pkg-config libssl-dev screen ufw unzip nano

Increase your open files limit

ulimit -n 65535

Create a folder for FOMO

mkdir -p /root/fomo
cd /root/fomo

Download the release zip

You can download the release zip (make sure to use latest version!!). You can find latest release here: Github Releasesarrow-up-right. Replace the version numbers below to latest, if necessary.

wget https://github.com/FOMO-MEV/FOMO-solana-arbitrage-aggregator-bot/archive/refs/tags/v2.0.2.zip -O fomo-v2.0.2.zip

Unzip it

Move the files into /root/fomo (the zip creates a versioned folder)

Config setup (required)

Rename the example config to the real config

Edit it

Important: config.toml must sit in the same directory as the FOMO binary.

Make files executable

Encrypt your key (required)

Before FOMO will run, you must generate an encrypted key on the server. This will create your encrypted key file locally. Keep it safe.

Run the command below from the same folder as the FOMO binary. Note: format for private key should look like this: [226,242,156,...] . No spaces between numbers. This will generate an encrypted file in the same folder, called: encrypted_pk. Re-running the command, using a different private key will override the existing one.

Run FOMO continuously (recommended)

Create the systemd service

Paste this

Enable + start

Viewing running bot

To exit screen without stopping the bot

Ctrl + A, then D

If you edit config.toml, restart to apply changes

To stop the bot (and service), run this command

Last updated