SolanaMevBot
  • 🤖SolanaMevBot - Solana Arbitrage Bot
    • 📘Blog
      • The Current Landscape of MEV on Solana
      • How to Frontrun on Solana: A Step-by-Step Guide
    • đŸ’ĩFees
  • Onchain Bot
    • â„šī¸How this bot work
    • đŸ› ī¸Getting started
    • â›“ī¸Onchain program
    • 🔍Address lookup table
    • 📝Bot configurations
  • 🚀Releases
  • â€ŧī¸Trouble shooting
  • 💹Performance tuning
  • Onchain Bot Dashboard
  • Jupiter Bot
    • â„šī¸How this bot work
    • đŸ› ī¸Getting started
    • 📝Bot configurations
      • 📚Config examples
    • 🔡Common workflow
    • 💹Performance tuning
    • 🧩Bot Strategy
    • â€ŧī¸Trouble shooting
    • 🚀Releases
    • ❓FAQ
    • Dashboard
  • Community
    • Discord
Powered by GitBook
On this page
  1. Onchain Bot

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.toml, 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.toml 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.

./smb-onchain -h

Commands:
  create-lookup-table <config_path>    Create a new lookup table using config
  extend-lookup-table <config_path> <address>    Extend an existing lookup table
  deactivate-lookup-table <config_path> <address>    Deactivate an existing lookup table
  close-lookup-table <config_path> <address>    Close a deactivated lookup table. You need to deactivate it first and wait for ~5min before closing it.
  run <config_path>                    Run the arbitrage bot with specified config

Options:
  -h, --help                          Show this help message

PreviousOnchain programNextBot configurations

Last updated 20 days ago

🔍