System Configuration

system.toml
# Application startup configuration
[STARTUP]
# Skip interactive CLI menu on startup.
# true: auto-start with DEFAULT_PRESET, false: show menu
SKIP_CLI = true
# Preset name when SKIP_CLI enabled. Must match filename from resources/presets/ without extension.
# Example: 'backrun.DE' loads resources/presets/backrun.DE.toml
DEFAULT_PRESET = "backrun.DE"
# Enable automatic restart when config/preset files change.
WATCH_FILES = true
# Enable automatic updates check and download on startup.
AUTO_UPDATER = true

# gRPC streaming limits. WARNING: Modify with caution.
# Providers have connection limits and may throttle/reject excessive connections
[STREAMING]
# Accounts per gRPC stream (provider-enforced limit).
# Example: 100 pools with limit 25 = 4 connections. Typical limit: 25-50
MAX_ACCOUNTS_PER_STREAM = 25
# Number of durable nonce accounts to monitor (enables offline signing).
# Set to actual account count. Streams created even if accounts don't exist yet
DURABLE_NONCE_MAX_ACCOUNTS = 100
# Max pools per DEX type (AMM/CLMM/DLMM/etc).
# Streams per type = ceil(MAX_POOLS_PER_TYPE / MAX_ACCOUNTS_PER_STREAM)
# Example: 100 pools, 25/stream = 4 streams/type × 6 types = 24 total connections
MAX_POOLS_PER_TYPE = 100

# Debugging and monitoring tools for system diagnostics
[DEBUG]
[DEBUG.RPC_STATS]
# Enable periodic RPC statistics logging
ENABLED = false
# Logging interval in ms (request counts, success rates, latencies).
# 0 = disable. Typical: 1000-5000ms
LOG_INTERVAL = 1000

# Address Lookup Tables config. Auto-managed for transaction size optimization
[TABLE_LOOKUP_STORAGE]
# Max ALTs to maintain (compress tx size by storing addresses).
# Each table stores up to 256 addresses. 0 = disable. Typical: 50-100
MAX_TABLES = 50
# Priority fee for ALT operations (create/extend/close) in micro-lamports/CU.
# Typical: 100,000 (0.0001 SOL/CU)
COMPUTE_UNIT_PRICE = 100000
# Custom addresses to auto-include in every created ALT.
# Swap-required accounts added automatically. Specify additional ones here (e.g., frequently used programs)
ADDITIONAL_ADDRESSES = [ "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "TokenzQdBNbLqP5VEhdkAS6EPFLC1phUyKj2ppXncBG", "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr", "11111111111111111111111111111112", "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", "SysvarInstructions1111111111111111111111111", "ComputeBudget111111111111111111111111111111", "SysvarRecentB1ockHashes11111111111111111111" ]
# Pre-existing ALT addresses to use.
# Empty array = create new tables only
CUSTOM_TABLE_ADDRESSES = [ ]

Last updated