Installation

This guide walks you through installing arb-assist and the supported arbitrage bots.

Overview

The installation process involves:

  1. Installing system dependencies

  2. Setting up Node.js environment

  3. Installing process managers

  4. Downloading and configuring your chosen bot

  5. Installing arb-assist

  6. Verifying the installation

Step 1: System Dependencies

Update System Packages

sudo apt update && sudo apt upgrade -y

Install Essential Tools

sudo apt install -y wget curl git unzip build-essential

Step 2: Install Node.js

Install Node Version Manager:

Load NVM:

Install Node.js v22:

Verify Installation

Step 3: Install Process Managers

PM2 (Process Manager)

TMUX (Terminal Multiplexer)

Step 4A: Install SolanaMevBot On-Chain

Create Directory

Download SMB-Onchain

Verify Installation

Step 4B: Install NotArb (Alternative)

Create Directory

Clone NotArb Repository

Install Java (if needed)

Step 5: Install arb-assist

Download arb-assist

Set Up License File

triangle-exclamation

Create Configuration

Step 6: Directory Structure Verification

For SMB-Onchain

Your directory should look like:

For NotArb

Your directory should look like:

Step 7: Initial Configuration

Edit config.toml

Set your RPC and GRPC endpoints:

Choose your mode:

Set Up Private Key

triangle-exclamation

For SMB-Onchain

  1. Create a temporary config with your private key locally

  2. Run SMB to encrypt it

  3. Transfer only the encrypted key file to your VPS

  4. Delete the temporary config

For NotArb

  1. Use NotArb's keypair protection feature

  2. Follow the NotArb documentation for secure key management

Step 8: Test Installation

Increase File Limits

Test arb-assist

You should see:

  • License validation message

  • GRPC connection confirmation

  • Data streaming messages

Expected Output

Press Ctrl+C to stop the test.

Step 9: Production Setup

Using TMUX

Using PM2

Troubleshooting Installation

Common Issues

License Error

  • Ensure license file is in the correct directory

  • Verify the IP address matches your server

  • Check file permissions

GRPC Connection Failed

  • Verify GRPC URL is correct

  • Check authentication token

  • Ensure firewall allows outbound connections

Too Many Open Files

  • Run ulimit -n 65536 before starting

  • Add to /etc/security/limits.conf for permanent fix

Getting Help

If you encounter issues:

  1. Check the Troubleshooting section

  2. Review bot-specific documentation

Next Steps

Installation complete! Proceed to:

Last updated