Address lookup table
The onchain bot usually has a lot of accounts in the same transaction. And it's impossible to run it if you don't have a good lookup table.
The bot has a list of cli commands that help you manage your lookup table. You just need to pass in the config file you use and run ./smb-onchain create-lookup-table config.yaml
, and the bot will automatically create a lookup table for you. Or if you are just modifying your config, you can run ./smb-onchain extend-lookup-table config.yaml EXISTING_LOOKUP_TABLE_ADDRESS
and the bot will update the address lookup table with the missing addresses.
Note: Creating a lookup table will cost you ~0.00128064 SOL. This cost cannot be recovered. Adding one address will cost you ~0.00022 SOL, this cost you can get back by deactivate the lookup table and close it. One lookup table can only hold at most 250 addresses.
Last updated