Documentation index

Solana Block-0 Sniper settings

Every setting the Solana Block-0 Sniper's Expert settings can change, with the same names and help the Strategy page shows. The path is the setting's name in the bot's config file, which is what Raw config and harkctl config show. "Starts at" is a new bot's value (the Balanced starter).

You rarely need these. The Simple controls set most of them for you: Style sets the filters and exit steps, Speed sets the priority fees and slippage, and take profit and stop loss set the sell rules. Settings marked Advanced only appear only with the Advanced switch on.

Buying

Buying settings
SettingWhat it doesValuesStarts at
Buy size
global.purchase_amount_sol
How much SOL to spend on each token.number
0.001 to 100 SOL
0.03 SOL
Max open positions
global.max_concurrent_tokens
How many tokens it may hold at the same time, across all launchpads.whole number
1 to 100
3
Budget
global.budget_sol
Never have more than this much SOL in trades at once, across all launchpads. Leave it empty for no budget. Optional.number
0.01 to 10000 SOL
off
Daily loss limit
global.daily_loss_limit_sol
Stop buying for the rest of the day once you've lost this much SOL today. Selling carries on, and it resets at midnight. Leave it empty for no limit. Optional.number
0.01 to 10000 SOL
off

Filters

Filters settings
SettingWhat it doesValuesStarts at
Dev buy at least
global.min_dev_buy_sol
Skip tokens whose dev bought less than this at launch.number
0 to 1000 SOL
0.5 SOL
Dev buy at most
global.max_dev_buy_sol
Skip tokens whose dev bought more than this; they may dump on you.number
0 to 1000 SOL
4.5 SOL
Only watch these accounts
global.account_include
Advanced only
If set, only launches involving one of these addresses are considered.listnot set
Only addresses ending in “pump”
global.filter.require_pump_suffix
Safer, but you will see fewer tokens.on / offOn
Skip blocked creators
global.filter.enable_blacklist_check
Never buy from a creator who rugged you before.on / offOn
Block repeat launchers for
global.filter.creator_rate_limit_window_secs
A creator who launches again within this time is skipped.whole number
0 to 86400 s
900 s
Forget creators after
global.filter.creator_cleanup_threshold_secs
Advanced only
How long a creator is remembered for the repeat-launch check.whole number
0 to 86400 s
1200 s
Skip launches seen later than
global.filter.max_event_latency_us
Advanced only
If a launch reaches the bot later than this after it happened, it is skipped.whole number
0 to 1000000 µs
500 µs
Skip when the network is slower than
global.filter.max_validator_latency_ms
Advanced only
Do not buy while the network is this slow; 0 ignores it.whole number
0 to 10000 ms
0 ms
Mayhem coins
global.filter.mayhem_coins
Buy pump.fun Mayhem Mode coins: 2 B supply, half of it traded by pump.fun's AI agent, so prices swing hard.on / offOn
Launches made by other programs
global.filter.cpi_launches
Advanced only
Buy pump.fun tokens created inside another program rather than directly. These are most often bundles, so they are skipped unless you turn this on.on / offOff
Buy cashback tokens
global.filter.snipe_cashback
Pump.fun launches that pay cashback.on / offOn

Selling

Selling settings
SettingWhat it doesValuesStarts at
How it sells
global.sell_strategy.sell_mode
Sell part straight away and manage the rest, manage all of it, or sell everything almost at once.“Take some, manage the rest” (combined), “Manage all of it” (multiphase_only), “In and out” (sell_on_buy_only)Take some, manage the rest
Initial sell
global.sell_strategy.initial_sell_percent
The share sold the moment the buy confirms; 100 % sells everything and skips the phases.whole number
0 to 100 %
60 %
Rug check window
global.sell_strategy.rugpull_timeout_secs
If the price has not started rising within this time, it sells the rest.number
0.1 to 60 s
2 s
Watch for a run
global.sell_strategy.detect_mooning
During the rug check, keep holding if the price rises several checks in a row.on / offOn
Rise per check
global.sell_strategy.moon_rise_threshold_percent
How much the price must rise between two checks to count.number
0.1 to 500 %
5 %
Rises in a row
global.sell_strategy.moon_consecutive_checks
Advanced only
How many rising checks in a row confirm a run.whole number
1 to 20
2
Time between checks
global.sell_strategy.moon_check_interval_ms
Advanced only
How often the price is checked during the rug check.whole number
10 to 10000 ms
500 ms
Take profit at
global.sell_strategy.target_profit_percent
Sell all that is left the moment profit reaches this; 0 turns it off.number
0 to 10000 %
0 %
Trailing stop
global.sell_strategy.trailing_stop_percent
Sell everything left if the price falls this far below its highest point.number
0.5 to 99 %
10 %
Sell in steps
global.sell_strategy.ladder_enabled
While it runs, sell a share each time profit climbs another step.on / offOn
Share per step
global.sell_strategy.ladder_sell_percent
The share of what is left sold at each step.whole number
1 to 100 %
50 %
Step size
global.sell_strategy.ladder_upstep_pnl_percent
Profit between steps: the first at this, the next at twice it, and so on.number
0.1 to 1000 %
100 %
Exit if profit falls to
global.sell_strategy.ladder_dump_exit_percent
While it runs, sell everything if profit drops back to this.number
-100 to 1000 %
5 %
In-and-out delay
global.sell_strategy.sell_on_buy_timer_ms
Advanced only
In “In and out” mode, how long after the buy it sells.whole number
0 to 60000 ms
2500 ms
Stop loss
global.sell_strategy.stop_loss_percent
Sell everything if a token drops this far below what the bot paid; 0 turns it off.number
0 to 99 %
30 %
Block creator after a loss of
global.sell_strategy.blacklist_loss_threshold
Advanced only
If a trade loses more than this, never buy from that creator again.whole number
0 to 100 %
10 %
Check for unsold tokens every
exits.stuck_scan_secs
Advanced only
How often the bot looks in its wallet for tokens it bought that nothing is selling, such as after a sell that kept failing, and sells them. Tokens you bought yourself are never touched. 0 turns it off.whole number
0 to 86400 s
not set
Sell again after a failed sell
exits.stuck_after_secs
Advanced only
When every try to sell a token failed, the bot sells it again once this long has passed with no new try.whole number
10 to 86400 s
not set

Spam filter

Spam filter settings
SettingWhat it doesValuesStarts at
Ignore buys under
global.spam_filter.min_buy_sol
Advanced only
Transactions smaller than this are treated as noise.number
0 to 100 SOL
0.01 SOL
Ignore buys over
global.spam_filter.max_buy_sol
Advanced only
Transactions larger than this are treated as noise.number
0 to 10000 SOL
10 SOL
Fewest tokens
global.spam_filter.min_tokens
Advanced only
Ignore transactions moving fewer tokens than this.whole number
0 to 1000000000000
1000
Fewest accounts
global.spam_filter.min_accounts
Advanced only
Ignore transactions touching fewer accounts than this; real launches touch more.whole number
0 to 64
8

Execution

Execution settings
SettingWhat it doesValuesStarts at
Slippage
global.slippage_basis_points
Advanced only
How far the price may move between deciding to buy and buying; 100 bps is 1 %.whole number
1 to 5000 bps
100 bps
Buy priority fee
global.buy_compute_fee
Advanced only
What you pay validators per compute unit to process your buys first.whole number
0 to 100000000 µlamports/CU
3,333,334 µlamports/CU
Sell priority fee
global.sell_compute_fee
Advanced only
The same, for sells; sells are less of a race.whole number
0 to 100000000 µlamports/CU
1,000,000 µlamports/CU
Sell retries
global.sell_strategy.sell_max_retries
Advanced only
How many times a failed sell is retried before the position is closed.whole number
0 to 20
3
First retry after
global.sell_strategy.sell_retry_base_ms
Advanced only
Wait before the first retry; it doubles each time.whole number
10 to 10000 ms
200 ms
Send every trade through the AllenHark relay (adds a small tip per trade)
relay.tip_all
On: every buy, sell and clean-up goes through the relay, for a 0.001 SOL tip each (counted in your fees). Off: only buys and urgent exits go through the relay; the rest are sent without a tip.on / offOn
Turn off the AllenHark relay
relay.relay_opt_out
Advanced only
Your choice: on means the bot stops sending through the AllenHark relay and uses only the fast senders you added. Leave it off unless you know you want that.on / offOff
Fast senders
senders
Advanced only
Your own accounts with other fast senders (Nozomi, 0slot, Jito, Helius Sender, an RPC). The bot sends each trade through all of them and the relay; with two or more on it pays only one tip per trade. API keys stay on your server.list of [[senders]] entriesnone

Per launchpad

Each launchpad has its own block, platforms.<launchpad>, where <launchpad> is one of pumpfun, raydium_launchlab, bonk_fun, meteora_dbc, bags_fm, pumpswap. The block is what actually runs on that launchpad. StonkFun and Surge have no block of their own and trade with Raydium LaunchLab's settings; Moonshot, Jupiter Studio and Believe trade with Meteora DBC's. Bonk.fun and Bags also run on those programs but keep blocks of their own. A change made for “All launchpads” is written to global and to every launchpad's block; a change for one launchpad only to its own block.

Per-launchpad settings
SettingWhat it doesValuesStarts at
Launchpad on
platforms.<launchpad>.enabled
Advanced only
Whether the bot trades this launchpad. Only launchpads on your plan can be turned on.on / offOn
Buy size
platforms.<launchpad>.purchase_amount_sol
How much SOL to spend on each token.number
0.001 to 100 SOL
0.03 SOL
Max open positions
platforms.<launchpad>.max_concurrent_tokens
Advanced only
Not used by the bot: it counts open tokens across all launchpads with the all-launchpads value.whole number
1 to 100
3
Slippage
platforms.<launchpad>.slippage_basis_points
Advanced only
How far the price may move between deciding to buy and buying; 100 bps is 1 %.whole number
1 to 5000 bps
100 bps
Buy priority fee
platforms.<launchpad>.buy_compute_fee
Advanced only
What you pay validators per compute unit to process your buys first.whole number
0 to 100000000 µlamports/CU
3,333,334 µlamports/CU
Sell priority fee
platforms.<launchpad>.sell_compute_fee
Advanced only
The same, for sells; sells are less of a race.whole number
0 to 100000000 µlamports/CU
1,000,000 µlamports/CU
How it sells
platforms.<launchpad>.sell_strategy.sell_mode
Sell part straight away and manage the rest, manage all of it, or sell everything almost at once.“Take some, manage the rest” (combined), “Manage all of it” (multiphase_only), “In and out” (sell_on_buy_only)Take some, manage the rest
Initial sell
platforms.<launchpad>.sell_strategy.initial_sell_percent
The share sold the moment the buy confirms; 100 % sells everything and skips the phases.whole number
0 to 100 %
60 %
Rug check window
platforms.<launchpad>.sell_strategy.rugpull_timeout_secs
If the price has not started rising within this time, it sells the rest.number
0.1 to 60 s
2 s
Watch for a run
platforms.<launchpad>.sell_strategy.detect_mooning
During the rug check, keep holding if the price rises several checks in a row.on / offOn
Rise per check
platforms.<launchpad>.sell_strategy.moon_rise_threshold_percent
How much the price must rise between two checks to count.number
0.1 to 500 %
5 %
Rises in a row
platforms.<launchpad>.sell_strategy.moon_consecutive_checks
Advanced only
How many rising checks in a row confirm a run.whole number
1 to 20
2
Time between checks
platforms.<launchpad>.sell_strategy.moon_check_interval_ms
Advanced only
How often the price is checked during the rug check.whole number
10 to 10000 ms
500 ms
Take profit at
platforms.<launchpad>.sell_strategy.target_profit_percent
Sell all that is left the moment profit reaches this; 0 turns it off.number
0 to 10000 %
0 %
Trailing stop
platforms.<launchpad>.sell_strategy.trailing_stop_percent
Sell everything left if the price falls this far below its highest point.number
0.5 to 99 %
10 %
Sell in steps
platforms.<launchpad>.sell_strategy.ladder_enabled
While it runs, sell a share each time profit climbs another step.on / offOn
Share per step
platforms.<launchpad>.sell_strategy.ladder_sell_percent
The share of what is left sold at each step.whole number
1 to 100 %
50 %
Step size
platforms.<launchpad>.sell_strategy.ladder_upstep_pnl_percent
Profit between steps: the first at this, the next at twice it, and so on.number
0.1 to 1000 %
100 %
Exit if profit falls to
platforms.<launchpad>.sell_strategy.ladder_dump_exit_percent
While it runs, sell everything if profit drops back to this.number
-100 to 1000 %
5 %
In-and-out delay
platforms.<launchpad>.sell_strategy.sell_on_buy_timer_ms
Advanced only
In “In and out” mode, how long after the buy it sells.whole number
0 to 60000 ms
2500 ms
Sell retries
platforms.<launchpad>.sell_strategy.sell_max_retries
Advanced only
How many times a failed sell is retried before the position is closed.whole number
0 to 20
3
First retry after
platforms.<launchpad>.sell_strategy.sell_retry_base_ms
Advanced only
Wait before the first retry; it doubles each time.whole number
10 to 10000 ms
200 ms
Stop loss
platforms.<launchpad>.sell_strategy.stop_loss_percent
Sell everything if a token drops this far below what the bot paid; 0 turns it off.number
0 to 99 %
30 %
Block creator after a loss of
platforms.<launchpad>.sell_strategy.blacklist_loss_threshold
Advanced only
If a trade loses more than this, never buy from that creator again.whole number
0 to 100 %
10 %
Launchpads built on these rails
platforms.<rails>.brands
Advanced only
Which launchpads that run on Raydium LaunchLab or Meteora DBC to trade, with the rails' settings. On Raydium LaunchLab: stonkfun, surge, and "other" for its own unbranded launches. On Meteora: moonshot, jupiter_studio, believe, and "other" for its own unbranded launches. Not set: all of them. The Strategy page writes this when you tick those launchpads.listnot set

Set for you

These are part of the config but are set by AllenHark or elsewhere in the app, so they are read-only in Expert settings.

SettingWhy you can't change it here
Live trading
global.live
Switched with Go live.
Wallet file
global.payer_keypair_path
Follows your active wallet.
Pump.fun volume account
global.user_volume_accumulator
Derived from your active wallet.
Trading hours on
global.schedule.enabled
Set on the Schedule tab.
Time zone
global.schedule.utc_offset_hours
Set on the Schedule tab.
Weekly hours
global.schedule.days
Set on the Schedule tab.
Node name
node.name
Managed by AllenHark.
Region
node.region
Managed by AllenHark.
Node mode
node.mode
Managed by AllenHark.
Leader address
node.leader_address
Managed by AllenHark.
Relay endpoint
node.relay
Managed by AllenHark.
Relay QUIC endpoints
node.relay_quic
Managed by AllenHark.
Relay API key
node.relay_api_key
Managed by AllenHark.
Relay QUIC fan-out
node.relay_quic_fanout
Managed by AllenHark.
Relay QUIC certificate pins
node.relay_quic_pins
Managed by AllenHark.
Skip relay certificate check (development)
node.relay_quic_insecure_skip_verify
Managed by AllenHark.
RPC endpoint
node.default_rpc
Managed by AllenHark.
RPC websocket
node.default_wss_rpc
Managed by AllenHark.
Keep-alive URL
node.keep_alive_url
Managed by AllenHark.
ShredStream endpoint
node.shredstream_uri
Managed by AllenHark.
ShredStream token
node.x_token
Managed by AllenHark.
gRPC endpoint
node.grpc_uri
Managed by AllenHark.
gRPC token
node.grpc_x_token
Managed by AllenHark.
RPC pool
node.rpc_pool
Managed by AllenHark.
Relay tip wallet
node.tip_wallet
Managed by AllenHark.
Listen for UDP shreds
node.use_udp_shreds
Managed by AllenHark.
UDP shreds port
node.udp_shreds_port
Managed by AllenHark.
Fast sender
node.use_fast_sender
Managed by AllenHark.
Wait for confirmation
node.confirmation_wait_ms
Managed by AllenHark.
Balance check retries
node.balance_check_max_retries
Managed by AllenHark.
Relay tip
node.tip_lamports
Managed by AllenHark: set to what Relay needs.
Database
database.url
Managed by AllenHark.
Launchpad live trading
platforms.<launchpad>.live
Switched with Go live.
Launchpad port
platforms.<launchpad>.ws_port
Managed by AllenHark.