NotArb - Solana Arbitrage Bot
  • Getting Started
    • Welcome
    • Changelog
    • The Basics
  • Setup
    • Start Here!
    • Prerequisites
      • Recommended Apps
      • RPC Providers
      • Linux Machines
    • Logging in Using SSH
    • Securing Your Machine
      • User Management
      • SSH Key-Based Authentication
      • Setting up UFW
      • Setting up fail2ban
      • Securing Wallet Private Key
    • Setting up for FTP
    • Initial Setup of NotArb
    • Using Screens
    • Making a Solana Wallet
  • Configurations
    • Using Nano
    • Config Basics
    • bot-config.toml
      • General Bot Settings
      • WSOL Unwrapper
      • JITO Strategy Settings
      • Spam Strategy Settings
      • Token Lists Settings
      • Swap Settings
    • jupiter-config.toml
      • Manager Settings
      • Env Settings
      • Mint Filters
    • Shell Scripts
      • run-bot.sh
      • run-jupiter.sh
      • run-screens.sh
  • Usage
    • Strategies
      • Jito Strategy
      • Spam Strategy
    • Updating
  • EXPERIMENTAL FEATURES
    • Overview & Caution
    • New Setup Configurations
  • New Mint Configurations
  • Default Strategy Fields
  • Jito Example
  • Spam Example
  • Extra Features
  • Support
    • FAQ
    • Common Issues
    • Troubleshooting
    • NotArb Docs Tracker
    • Contact
Powered by GitBook
On this page
  • Overview
  • [[swap]] (At least one required)
  • Strategy Fields
  • Fields Affecting Jupiter Quotes
  • Fields Determining Transaction Skipping
  • Fields Affecting Transaction Building
  • Jito Specific Fields
  • Spam Specific Fields
  1. Configurations
  2. bot-config.toml

Swap Settings

PreviousToken Lists SettingsNextjupiter-config.toml

Last updated 3 months ago

Overview

This section will explain how to set up which mint you want to use to begin your swaps and arbitrage. You can set up multiple swap mints if you want.

[[swap]] (At least one required)

[[swap]]
enabled = true # Enable or disable this swap configuration
mint = "So11111111111111111111111111111111111111112" # Base mint to trade (e.g., SOL, USDC)

[swap.strategy_defaults]
wrap_unwrap_sol = false 
jito_enabled = true
cooldown = "3s"

[[swap.strategy]]
min_spend = 0.0001
max_spend = 0.01
jito_static_tip_lamports = 5000

[[swap.strategy]]
min_spend = 0.5
max_spend = 1
jito_dynamic_tip_percent = 40
  • enabled: Toggle this swap configuration.

  • mint: Base token to trade.

  • strategy_defaults: Default settings for strategies.

  • strategy: Specific strategy parameters.


Strategy Fields

Fields Affecting Jupiter Quotes

  • wrap_unwrap_sol: Automatically wrap/unwrap SOL.

  • min_spend: Minimum amount per swap.

  • max_spend: Maximum amount per swap.

  • min_priority_fee_lamports: Minimum priority fee.

  • max_priority_fee_lamports: Maximum priority fee.

  • total_max_accounts: Total max accounts for swaps. Can use this in lieu of using both entry and exit max accounts


Entry Specific

  • entry_only_direct_routes: Restrict to direct routes.

  • entry_restrict_intermediate_tokens: Limit intermediate tokens.

  • entry_max_accounts: Max accounts for entry swaps.

  • entry_dexes: Allowed DEXes for entry.

  • entry_exclude_dexes: Excluded DEXes for entry.


Exit Specific

  • Similar to entry-specific fields but for exit swaps.


Fields Determining Transaction Skipping

  • cooldown: Wait time before retrying the same token.

  • min_swap_routes: Minimum swap routes required.

  • max_swap_routes: Maximum swap routes allowed.

  • max_price_impact: Maximum allowed price impact.


Gain Requirements

  • min_gain_bps: Minimum gain in basis points.

  • min_gain_percent: Minimum gain percentage.

  • min_gain_lamports: Minimum gain in lamports.

  • min_gain_sol: Minimum gain in SOL.


Fields Affecting Transaction Building

  • cu_limit: Compute unit limit per transaction.


Jito Specific Fields

  • jito_enabled: Toggle Jito sending.

  • jito_unwrap_tip: Unwrap WSOL for Jito tips.

  • jito_dynamic_tip_percent: Dynamic tip based on profit.

  • jito_static_tip_percent: Static tip based on profit.

  • jito_max_tip_lamports: Maximum tip in lamports.

  • jito_static_tip_lamports: Predefined static tip in lamports.

jito_tip_percent has been removed and is no longer deprecated past v0.1.84-alpha


Spam Specific Fields

  • spam_senders: List of spam transaction senders.

  • spam_max_opportunity_age_ms: Max age of an opportunity.

ℹ️