copychain

Installation

Go and download the latest releases.

Configuration file

Here is a bare-minimum configuration file:

my_pubkey = "xxx"       # your wallet pubkey
copy_pubkeys = ["xxx"]  # wallet to copy
grpc_url = "xxx"        # your grpc URL

# Full documentation: https://hweippy.gitbook.io/copychain/configuration/all-entries

# grpc_token = "xxx"
# smb_config = "config.toml"
# smb_onchain_binary = "smb-onchain"

# [misc]
# print_stats_interval = 1
# stop_sol_threshold = 0.1

# [sessions]
# blacklisted_mints = []
# timeout = 5
# process_delay = 400
# default_lookup_tables = ["4sKLJ1Qoudh8PJyqBeuKocYdsZvxTcRShUt9aKqwhgvC"]
# copy_jito_no_failure_only = true
# spam_to_jito = false
# max_jito_tip_lamports = 1_000_000
# max_priority_fees_lamports = 1_000_000
# fees_history_size = 40

Lines starting with # are commented. Remove the # if you want to modify specific entries.

License file

The license file must be located in the same directory as the copychain binary and named license.bin.

Verify it's working

For a quick start, copy all required files to the same directory as SMB.

A simple folder structure should therefore be:

$ ls
license.bin copychain copy-config.toml smb-onchain config.toml

You can then start in monitor mode (no transactions will be sent) to verify that it’s working:

chmod +x ./copychain
./copychain monitor copy-config.toml

You should see more or less these log lines:

[INFO  copychain] Starting copychain v0.0.1
[INFO  copychain] License valid (30 days 20 hours left)
[INFO  copychain] Monitoring 1 accounts

If that’s the case, you’re all set! You can now move on to the serious stuff. Start by checking the complete configuration.

Last updated