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
| Setting | What it does | Values | Starts at |
|---|---|---|---|
Buy sizeglobal.purchase_amount_sol | How much SOL to spend on each token. | number0.001 to 100 SOL | 0.03 SOL |
Max open positionsglobal.max_concurrent_tokens | How many tokens it may hold at the same time, across all launchpads. | whole number1 to 100 | 3 |
Budgetglobal.budget_sol | Never have more than this much SOL in trades at once, across all launchpads. Leave it empty for no budget. Optional. | number0.01 to 10000 SOL | off |
Daily loss limitglobal.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. | number0.01 to 10000 SOL | off |
Filters
| Setting | What it does | Values | Starts at |
|---|---|---|---|
Dev buy at leastglobal.min_dev_buy_sol | Skip tokens whose dev bought less than this at launch. | number0 to 1000 SOL | 0.5 SOL |
Dev buy at mostglobal.max_dev_buy_sol | Skip tokens whose dev bought more than this; they may dump on you. | number0 to 1000 SOL | 4.5 SOL |
Only watch these accountsglobal.account_includeAdvanced only | If set, only launches involving one of these addresses are considered. | list | not set |
Only addresses ending in “pump”global.filter.require_pump_suffix | Safer, but you will see fewer tokens. | on / off | On |
Skip blocked creatorsglobal.filter.enable_blacklist_check | Never buy from a creator who rugged you before. | on / off | On |
Block repeat launchers forglobal.filter.creator_rate_limit_window_secs | A creator who launches again within this time is skipped. | whole number0 to 86400 s | 900 s |
Forget creators afterglobal.filter.creator_cleanup_threshold_secsAdvanced only | How long a creator is remembered for the repeat-launch check. | whole number0 to 86400 s | 1200 s |
Skip launches seen later thanglobal.filter.max_event_latency_usAdvanced only | If a launch reaches the bot later than this after it happened, it is skipped. | whole number0 to 1000000 µs | 500 µs |
Skip when the network is slower thanglobal.filter.max_validator_latency_msAdvanced only | Do not buy while the network is this slow; 0 ignores it. | whole number0 to 10000 ms | 0 ms |
Mayhem coinsglobal.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 / off | On |
Launches made by other programsglobal.filter.cpi_launchesAdvanced 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 / off | Off |
Buy cashback tokensglobal.filter.snipe_cashback | Pump.fun launches that pay cashback. | on / off | On |
Selling
| Setting | What it does | Values | Starts at |
|---|---|---|---|
How it sellsglobal.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 sellglobal.sell_strategy.initial_sell_percent | The share sold the moment the buy confirms; 100 % sells everything and skips the phases. | whole number0 to 100 % | 60 % |
Rug check windowglobal.sell_strategy.rugpull_timeout_secs | If the price has not started rising within this time, it sells the rest. | number0.1 to 60 s | 2 s |
Watch for a runglobal.sell_strategy.detect_mooning | During the rug check, keep holding if the price rises several checks in a row. | on / off | On |
Rise per checkglobal.sell_strategy.moon_rise_threshold_percent | How much the price must rise between two checks to count. | number0.1 to 500 % | 5 % |
Rises in a rowglobal.sell_strategy.moon_consecutive_checksAdvanced only | How many rising checks in a row confirm a run. | whole number1 to 20 | 2 |
Time between checksglobal.sell_strategy.moon_check_interval_msAdvanced only | How often the price is checked during the rug check. | whole number10 to 10000 ms | 500 ms |
Take profit atglobal.sell_strategy.target_profit_percent | Sell all that is left the moment profit reaches this; 0 turns it off. | number0 to 10000 % | 0 % |
Trailing stopglobal.sell_strategy.trailing_stop_percent | Sell everything left if the price falls this far below its highest point. | number0.5 to 99 % | 10 % |
Sell in stepsglobal.sell_strategy.ladder_enabled | While it runs, sell a share each time profit climbs another step. | on / off | On |
Share per stepglobal.sell_strategy.ladder_sell_percent | The share of what is left sold at each step. | whole number1 to 100 % | 50 % |
Step sizeglobal.sell_strategy.ladder_upstep_pnl_percent | Profit between steps: the first at this, the next at twice it, and so on. | number0.1 to 1000 % | 100 % |
Exit if profit falls toglobal.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 delayglobal.sell_strategy.sell_on_buy_timer_msAdvanced only | In “In and out” mode, how long after the buy it sells. | whole number0 to 60000 ms | 2500 ms |
Stop lossglobal.sell_strategy.stop_loss_percent | Sell everything if a token drops this far below what the bot paid; 0 turns it off. | number0 to 99 % | 30 % |
Block creator after a loss ofglobal.sell_strategy.blacklist_loss_thresholdAdvanced only | If a trade loses more than this, never buy from that creator again. | whole number0 to 100 % | 10 % |
Check for unsold tokens everyexits.stuck_scan_secsAdvanced 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 number0 to 86400 s | not set |
Sell again after a failed sellexits.stuck_after_secsAdvanced only | When every try to sell a token failed, the bot sells it again once this long has passed with no new try. | whole number10 to 86400 s | not set |
Spam filter
| Setting | What it does | Values | Starts at |
|---|---|---|---|
Ignore buys underglobal.spam_filter.min_buy_solAdvanced only | Transactions smaller than this are treated as noise. | number0 to 100 SOL | 0.01 SOL |
Ignore buys overglobal.spam_filter.max_buy_solAdvanced only | Transactions larger than this are treated as noise. | number0 to 10000 SOL | 10 SOL |
Fewest tokensglobal.spam_filter.min_tokensAdvanced only | Ignore transactions moving fewer tokens than this. | whole number0 to 1000000000000 | 1000 |
Fewest accountsglobal.spam_filter.min_accountsAdvanced only | Ignore transactions touching fewer accounts than this; real launches touch more. | whole number0 to 64 | 8 |
Execution
| Setting | What it does | Values | Starts at |
|---|---|---|---|
Slippageglobal.slippage_basis_pointsAdvanced only | How far the price may move between deciding to buy and buying; 100 bps is 1 %. | whole number1 to 5000 bps | 100 bps |
Buy priority feeglobal.buy_compute_feeAdvanced only | What you pay validators per compute unit to process your buys first. | whole number0 to 100000000 µlamports/CU | 3,333,334 µlamports/CU |
Sell priority feeglobal.sell_compute_feeAdvanced only | The same, for sells; sells are less of a race. | whole number0 to 100000000 µlamports/CU | 1,000,000 µlamports/CU |
Sell retriesglobal.sell_strategy.sell_max_retriesAdvanced only | How many times a failed sell is retried before the position is closed. | whole number0 to 20 | 3 |
First retry afterglobal.sell_strategy.sell_retry_base_msAdvanced only | Wait before the first retry; it doubles each time. | whole number10 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 / off | On |
Turn off the AllenHark relayrelay.relay_opt_outAdvanced 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 / off | Off |
Fast senderssendersAdvanced 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]] entries | none |
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.
| Setting | What it does | Values | Starts at |
|---|---|---|---|
Launchpad onplatforms.<launchpad>.enabledAdvanced only | Whether the bot trades this launchpad. Only launchpads on your plan can be turned on. | on / off | On |
Buy sizeplatforms.<launchpad>.purchase_amount_sol | How much SOL to spend on each token. | number0.001 to 100 SOL | 0.03 SOL |
Max open positionsplatforms.<launchpad>.max_concurrent_tokensAdvanced only | Not used by the bot: it counts open tokens across all launchpads with the all-launchpads value. | whole number1 to 100 | 3 |
Slippageplatforms.<launchpad>.slippage_basis_pointsAdvanced only | How far the price may move between deciding to buy and buying; 100 bps is 1 %. | whole number1 to 5000 bps | 100 bps |
Buy priority feeplatforms.<launchpad>.buy_compute_feeAdvanced only | What you pay validators per compute unit to process your buys first. | whole number0 to 100000000 µlamports/CU | 3,333,334 µlamports/CU |
Sell priority feeplatforms.<launchpad>.sell_compute_feeAdvanced only | The same, for sells; sells are less of a race. | whole number0 to 100000000 µlamports/CU | 1,000,000 µlamports/CU |
How it sellsplatforms.<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 sellplatforms.<launchpad>.sell_strategy.initial_sell_percent | The share sold the moment the buy confirms; 100 % sells everything and skips the phases. | whole number0 to 100 % | 60 % |
Rug check windowplatforms.<launchpad>.sell_strategy.rugpull_timeout_secs | If the price has not started rising within this time, it sells the rest. | number0.1 to 60 s | 2 s |
Watch for a runplatforms.<launchpad>.sell_strategy.detect_mooning | During the rug check, keep holding if the price rises several checks in a row. | on / off | On |
Rise per checkplatforms.<launchpad>.sell_strategy.moon_rise_threshold_percent | How much the price must rise between two checks to count. | number0.1 to 500 % | 5 % |
Rises in a rowplatforms.<launchpad>.sell_strategy.moon_consecutive_checksAdvanced only | How many rising checks in a row confirm a run. | whole number1 to 20 | 2 |
Time between checksplatforms.<launchpad>.sell_strategy.moon_check_interval_msAdvanced only | How often the price is checked during the rug check. | whole number10 to 10000 ms | 500 ms |
Take profit atplatforms.<launchpad>.sell_strategy.target_profit_percent | Sell all that is left the moment profit reaches this; 0 turns it off. | number0 to 10000 % | 0 % |
Trailing stopplatforms.<launchpad>.sell_strategy.trailing_stop_percent | Sell everything left if the price falls this far below its highest point. | number0.5 to 99 % | 10 % |
Sell in stepsplatforms.<launchpad>.sell_strategy.ladder_enabled | While it runs, sell a share each time profit climbs another step. | on / off | On |
Share per stepplatforms.<launchpad>.sell_strategy.ladder_sell_percent | The share of what is left sold at each step. | whole number1 to 100 % | 50 % |
Step sizeplatforms.<launchpad>.sell_strategy.ladder_upstep_pnl_percent | Profit between steps: the first at this, the next at twice it, and so on. | number0.1 to 1000 % | 100 % |
Exit if profit falls toplatforms.<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 delayplatforms.<launchpad>.sell_strategy.sell_on_buy_timer_msAdvanced only | In “In and out” mode, how long after the buy it sells. | whole number0 to 60000 ms | 2500 ms |
Sell retriesplatforms.<launchpad>.sell_strategy.sell_max_retriesAdvanced only | How many times a failed sell is retried before the position is closed. | whole number0 to 20 | 3 |
First retry afterplatforms.<launchpad>.sell_strategy.sell_retry_base_msAdvanced only | Wait before the first retry; it doubles each time. | whole number10 to 10000 ms | 200 ms |
Stop lossplatforms.<launchpad>.sell_strategy.stop_loss_percent | Sell everything if a token drops this far below what the bot paid; 0 turns it off. | number0 to 99 % | 30 % |
Block creator after a loss ofplatforms.<launchpad>.sell_strategy.blacklist_loss_thresholdAdvanced only | If a trade loses more than this, never buy from that creator again. | whole number0 to 100 % | 10 % |
Launchpads built on these railsplatforms.<rails>.brandsAdvanced 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. | list | not 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.
| Setting | Why you can't change it here |
|---|---|
Live tradingglobal.live | Switched with Go live. |
Wallet fileglobal.payer_keypair_path | Follows your active wallet. |
Pump.fun volume accountglobal.user_volume_accumulator | Derived from your active wallet. |
Trading hours onglobal.schedule.enabled | Set on the Schedule tab. |
Time zoneglobal.schedule.utc_offset_hours | Set on the Schedule tab. |
Weekly hoursglobal.schedule.days | Set on the Schedule tab. |
Node namenode.name | Managed by AllenHark. |
Regionnode.region | Managed by AllenHark. |
Node modenode.mode | Managed by AllenHark. |
Leader addressnode.leader_address | Managed by AllenHark. |
Relay endpointnode.relay | Managed by AllenHark. |
Relay QUIC endpointsnode.relay_quic | Managed by AllenHark. |
Relay API keynode.relay_api_key | Managed by AllenHark. |
Relay QUIC fan-outnode.relay_quic_fanout | Managed by AllenHark. |
Relay QUIC certificate pinsnode.relay_quic_pins | Managed by AllenHark. |
Skip relay certificate check (development)node.relay_quic_insecure_skip_verify | Managed by AllenHark. |
RPC endpointnode.default_rpc | Managed by AllenHark. |
RPC websocketnode.default_wss_rpc | Managed by AllenHark. |
Keep-alive URLnode.keep_alive_url | Managed by AllenHark. |
ShredStream endpointnode.shredstream_uri | Managed by AllenHark. |
ShredStream tokennode.x_token | Managed by AllenHark. |
gRPC endpointnode.grpc_uri | Managed by AllenHark. |
gRPC tokennode.grpc_x_token | Managed by AllenHark. |
RPC poolnode.rpc_pool | Managed by AllenHark. |
Relay tip walletnode.tip_wallet | Managed by AllenHark. |
Listen for UDP shredsnode.use_udp_shreds | Managed by AllenHark. |
UDP shreds portnode.udp_shreds_port | Managed by AllenHark. |
Fast sendernode.use_fast_sender | Managed by AllenHark. |
Wait for confirmationnode.confirmation_wait_ms | Managed by AllenHark. |
Balance check retriesnode.balance_check_max_retries | Managed by AllenHark. |
Relay tipnode.tip_lamports | Managed by AllenHark: set to what Relay needs. |
Databasedatabase.url | Managed by AllenHark. |
Launchpad live tradingplatforms.<launchpad>.live | Switched with Go live. |
Launchpad portplatforms.<launchpad>.ws_port | Managed by AllenHark. |
