General Bot Settings
Let's begin by getting the general settings configured.
[bot_misc]
(Required)
[bot_misc]
(Required)You can set the basic bot configurations here.
[bot_misc]
keypair_path = "/path/to/keypair.json OR /path/to/keypair.txt" # Path to the keypair file used for signing transactions
disable_http_pools = false # Disable HTTP pools for debugging purposes (will be removed in future)
swap_threads = 0 # Number of threads for handling swap requests (0 = auto)
jito_threads = 0 # Number of threads for dispatching Jito requests (0 = auto)
spam_threads = 0 # Number of threads for dispatching Spam requests (0 = auto)
keypair_path
keypair_path
: Path to your Solana wallet keypair file.
To get your keypair file: Making a Solana Wallet
disable_http_pools
Set to true
to disable HTTP pools (for debugging).
Threads
You can assign how many threads for a certain operation on your machine. You have the following:
swap_threads
: for executing swapsjito_threads
: for jito bundlingspam_threads
: for spam strategy
Allocations:
Set to 0
for automatic determination.
You can now optionally set jito_threads=-1
and/or spam_threads=-1
to use dynamic thread pooling.
This will not work with swap_threads!
debug_executors
debug_executors=true
which will print executor information every 10 seconds. (Only use for debugging, this will slightly slow down cycles)
[jupiter]
(Required)
[jupiter]
(Required)These settings are to connect to the self-hosted Jupiter Server that comes with the platform.
[jupiter]
url = "http://127.0.0.1:8080/" # URL of your Jupiter server
http_timeout_ms = 3000 # HTTP request timeout for Jupiter (ms)
http_pool_max_size = 50 # Max HTTP connections in pool
http_pool_keep_alive = "5m" # Idle time before connection is closed
url
: Endpoint for the Jupiter server. Default ishttp://127.0.0.1:8080
if you are not changing your Jupiter host and port settings.http_timeout_ms
: Timeout for HTTP requests.http_pool_max_size
: Maximum number of HTTP connections in the pool.http_pool_keep_alive
: Duration to keep idle connections alive.
[simulation_mode]
(Optional)
[simulation_mode]
(Optional)[simulation_mode]
enabled = false # Enable or disable simulation mode
rpc = "solana-pub" # RPC node identifier
skip_known_jupiter_errors = true # Skip known errors
skip_successful_responses = false # Skip successful responses
skip_no_profit_responses = false # Skip no profit responses
force_blockhash = true # Force blockhash replacement
enabled
: Toggle simulation mode.rpc
: RPC node for simulation.skip_*
: Options to filter responses.force_blockhash
: Enforce blockhash updates.
Last updated