Fine-tuning

SMB + copychain configurations

This tool uses the SMB configuration, except for the entries in [[routing.mint_config_list]] and certain parts of the [bot] section, as these are precisely what the tool is designed to copy.

Original SMB configuration file

Values in the original SMB configuration under [routing] are ignored by copychain, since this is exactly what the tool is designed to copy. A few notes:

  • process_delay : set its value in the copychain configuration (see process_delay

  • lookup_table_accounts : copied by this tool but can be extended with the copychain configuration (see default_lookup_tables)

Some entries in [bot] section are also ignored:

  • merge_mints : always true

  • compute_unit_limit : copied by this tool

You can still use memo to tag your transactions, and it's highly recommended to set skip_ata_creation = true.

Each session will then use your own SMB configuration for sending transactions. The first step is to decide whether you want to copy and send with Jito, Spam, or both. Simply enable them in your SMB config (enabled = true under their respective sections) and ensure their configuration entries are valid, specially URLs.

For Jito, this tool does not copy and uses the following entries from your original SMB configuration file:

For Spam, this tool does not copy and uses the following entries from your original SMB configuration file:

Copying Fee Strategies (Jito / Spam)

You can choose to either let this tool copy priority fees and Jito tips from the target wallet, or use your own strategy:

  • For Jito, set tip_config strategy to File to copy their tip strategy.

  • For Spam, set compute_unit_price strategy to File to do the same.

This tool will automatically update the necessary files at runtime, no need to specify a file_path. You can tweak this setting (see fees_history_size) to adjust the number of transactions to look back for calculation.

If the strategy is not File, this tool will use your SMB configuration as is.

Last updated