SMB-Onchain Setup

This guide covers the complete setup process for using arb-assist with SolanaMevBot On-Chain.

Overview

SMB-Onchain integration allows arb-assist to:

  • Generate optimized TOML configuration files

  • Dynamically update bot settings

  • Control bot activation based on market conditions

  • Manage priority fees and Jito tips

Prerequisites

Before starting, ensure you have:

  • ✅ SMB-Onchain binary and license

  • ✅ arb-assist installed in the same directory

  • ✅ Encrypted wallet keypair

  • ✅ Sufficient SOL for operations

Initial Setup

Step 1: Directory Structure

Your directory should look like:

Step 2: Private Key Encryption

triangle-exclamation
  1. Create temporary config locally:

  1. Encrypt the private key:

  1. Transfer files to VPS:

  • Copy wallet.key to your VPS

  • Delete temp-config.toml (contains private key)

Step 3: Configure arb-assist

Create your config.toml:

Running the System

Step 1: Start arb-assist

Using tmux:

Using PM2:

Step 2: Start SMB-Onchain

With automatic config reloading:

This setup ensures:

  • SMB restarts when config changes

  • Automatic adaptation to market conditions

  • Continuous operation

Step 3: Monitor Operation

View logs:

Configuration Details

Generated Config Structure

arb-assist generates a config like:

Dynamic Updates

The config updates based on:

  • Market activity levels

  • Arbitrage profitability

  • Network congestion

  • Competition levels

Strategy Activation

Different strategies activate at different tiers:

Low Activity (Tier 0):

  • Basic spam mode

  • Low priority fees

  • Minimal Jito usage

Medium Activity (Tier 1):

  • Increased fees

  • Jito bundles enabled

  • More aggressive settings

High Activity (Tier 2):

  • Maximum fees

  • Premium services

  • All strategies active

Advanced Features

Flash Loans (Cetiloan)

Enable borrowing for arbitrage:

Benefits:

  • No upfront capital needed

  • Larger arbitrage positions

  • Higher potential profits

Mint Merging

Combine multiple arbitrage opportunities:

This allows:

  • Multiple mints per transaction

  • Shared gas costs

  • Complex arbitrage routes

Jito Integration

Configure Jito bundles:

Simple Send Mode

For testing or specific strategies:

Performance Optimization

RPC Configuration

Use multiple RPCs for reliability:

Compute Units

Adjust based on route complexity:

Process Delays

Balance speed vs success rate:

Monitoring & Maintenance

Key Metrics

Monitor these in SMB logs:

  • Arbitrage success rate

  • Average profit per trade

  • Gas costs

  • Failed transaction reasons

Common Log Messages

Successful Arbitrage:

Failed Transaction:

No Opportunities:

Maintenance Tasks

Daily:

  • Check logs for errors

  • Monitor profit/loss

  • Verify bot is running

Weekly:

  • Review configuration effectiveness

  • Update RPC endpoints if needed

  • Check for SMB updates

Monthly:

  • Analyze performance trends

  • Optimize configuration

  • Update software versions

Troubleshooting

Bot Not Starting

Config Not Found:

  • Check arb-assist is running

  • Verify output filename matches

Invalid Configuration:

  • Check TOML syntax

  • Verify all required fields

No Trades Executing

Check:

  1. Wallet has sufficient SOL

  2. Config contains valid mints

  3. Filter thresholds aren't too strict

  4. RPC endpoints are working

High Failure Rate

Solutions:

  1. Increase process_delay

  2. Raise priority fees

  3. Use Jito for competitive mints

  4. Check RPC latency

Security Best Practices

  1. Key Management

    • Always use encrypted keypairs

    • Never share private keys

    • Rotate keys periodically

  2. Access Control

    • Restrict server access

    • Use firewall rules

    • Monitor login attempts

  3. Monitoring

    • Set up alerts for failures

    • Track wallet balance

    • Monitor for suspicious activity

Integration Checklist

Last updated