📚Config examples

Quick start config With this config, you should be able to kick start and get a taste of the bot with most of the free private RPC providers out there. The profit this config can make is very minimal though.

You can run this config with 0.1 SOL in your wallet. The bot will uses 0.05 SOL as the trade size to find profitable arb opportunities.

.env

PRIVATE_KEY=
RPC_URL=

JUPITER_URL=http://0.0.0.0:18080
INTERMEDIUM_MINT_COUNT_FROM_BIRDEYE=2
USE_DIRECT_ROUTE_ONLY=false
ENABLE_JITO=true
ENABLE_SPAM=false
JUP_MAX_ACCOUNTS=20
JITO_TIP_BP=5000
PROCESS_DELAY=1000
ENABLE_SIMULATION=false
AUTO_RESTART=60
MARKET_MODE=remote

base-mint.json

[
  { "mint": "So11111111111111111111111111111111111111112",
    "tradeSize": [50000000],
    "minProfit": 100000
  }
]

Demo account config The demo account is using a Jito only strategy. With this strategy you won't land any failed transaction, and can work well with just one RPC. It purely uses RPC and gRPC(Yellowstone) from Shyft.to

The demo account is using a teraswitch machine(8 Core/32GB) in LA($150/m).

.env

PRIVATE_KEY=
RPC_URL=
YELLOWSTONE_URL=
YELLOWSTONE_XTOKEN=
BIRDEYE_API_KEY=

JUPITER_URL=http://0.0.0.0:18080
INTERMEDIUM_MINT_COUNT_FROM_NEW_TOKENS=50
INTERMEDIUM_MINT_COUNT_FROM_BIRDEYE=50

USE_DIRECT_ROUTE_ONLY=true
JUP_MAX_ACCOUNTS=20
PROCESS_DELAY=200
ENABLE_SIMULATION=false
MAX_COMPUTE_TIME=500
AUTO_RESTART=120
PROCESS_DELAY=500
SKIP_SAME_OPPORTUNITY=true

ENABLE_JITO=true
JITO_TIP_BP=9000

ENABLE_SPAM=false

base-mint.json

[
  { "mint": "So11111111111111111111111111111111111111112",
    "tradeRange": [100000000, 2000000000],
    "tradeRangeCount": 5,
    "tradeRangeStrategy": "linear",
    "minProfit": 5000
  },
  { "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "tradeRange": [50000000, 500000000],
    "tradeRangeCount": 5,
    "tradeRangeStrategy": "linear",
    "minProfit": 5000
  },
  { "mint": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
    "tradeRange": [50000000, 300000000],
    "tradeRangeCount": 5,
    "tradeRangeStrategy": "linear",
    "minProfit": 5000
  }
]

bloXroute config This is a mixed strategy using both jito and bloXroute.

The machines runs this is using the following hardware: CPU AMD Ryzen 9 7950X Cores/Threads 16c / 32t Memory (RAM) 128 GB And located in Amsterdam, the same location as Shyft RPC and Yellowstone.

.env

PRIVATE_KEY=
BIRDEYE_API_KEY=
RPC_URL=
YELLOWSTONE_URL=
YELLOWSTONE_XTOKEN=
BLOXROUTE_REGION=

JUPITER_URL=http://0.0.0.0:18080
INTERMEDIUM_MINT_COUNT_FROM_BIRDEYE=100
USE_DIRECT_ROUTE_ONLY=true
ENABLE_JITO=true
ENABLE_SPAM=true
JITO_TIP_BP=8222
PROCESS_DELAY=1000
AUTO_RESTART=120
JUP_MAX_ACCOUNTS=20
COMPUTE_UNIT_PRICE=100000
MIN_SOL_BALANCE=1000000000
INTERMEDIUM_MINT_COUNT_FROM_NEW_TOKENS=50
ENABLE_SIMULATION=false
ENABLE_BLOXROUTE=true

base-mint.json

[
  { "mint": "So11111111111111111111111111111111111111112",
    "tradeRange": [1000000000, 10000000000],
    "tradeRangeCount": 5,
    "tradeRangeStrategy": "random",
    "minProfit": 1000000
  }
]
Spam config This is an example config for how to use spam strategy. Note you need multiple good RPCs for sending, minimize all possible latencies, and tune it yourself to be profitable with spam strategy. Not everyone can be profitable with spam strategy.

.env

PRIVATE_KEY=
BIRDEYE_API_KEY=
HELIUS_API_KEY=
SEND_RPC_URLS=
RPC_URL=
YELLOWSTONE_URL=
YELLOWSTONE_XTOKEN=

JUPITER_URL=http://0.0.0.0:18080
INTERMEDIUM_MINT_COUNT_FROM_BIRDEYE=500
USE_DIRECT_ROUTE_ONLY=true
ENABLE_JITO=true
ENABLE_SPAM=true
JITO_TIP_BP=8222
PROCESS_DELAY=500
AUTO_RESTART=60
JUP_MAX_ACCOUNTS=20
INTERMEDIUM_MINT_COUNT_FROM_NEW_TOKENS=50
ENABLE_SIMULATION=true
FIXED_COMPUTE_UNIT_LIMIT=250000

base-min.json

[
  { "mint": "So11111111111111111111111111111111111111112",
    "tradeRange": [1000000000, 10000000000],
    "tradeRangeCount": 10,
    "tradeRangeStrategy": "linear",
    "priorityFeePercentile": 40,
    "minProfit": 500000
  },
  { "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "tradeRange": [100000000, 500000000],
    "tradeRangeCount": 5,
    "tradeRangeStrategy": "linear",
    "priorityFeePercentile": 40,
    "minProfit": 500000
  }
]
High fee spam config This strategy use a very high gas fee and is sending much less tx than a traditional spam strategy. The goal is to pay a high enough gas fee in order to land fast and catch the opportunity right after it appears. This strategy has the highest requirement for your rpc and server, you want to has as little latency as possible as it may cost you a lot for a fail transaction.

.env

PRIVATE_KEY=
SEND_RPC_URLS=
RPC_URL=
BIRDEYE_API_KEY=
YELLOWSTONE_URL=
YELLOWSTONE_XTOKEN=

JUPITER_URL=http://0.0.0.0:18080
INTERMEDIUM_MINT_COUNT_FROM_BIRDEYE=80
USE_DIRECT_ROUTE_ONLY=true
ENABLE_JITO=false
ENABLE_SPAM=true
PROCESS_DELAY=1000
AUTO_RESTART=120
JUP_MAX_ACCOUNTS=20
MIN_SOL_BALANCE=40000000000
INTERMEDIUM_MINT_COUNT_FROM_NEW_TOKENS=50
ENABLE_SIMULATION=true

ENABLE_JITO_RPC=true
ENABLE_BLOXROUTE=true
MAX_COMPUTE_TIME=100
SPAM_RESTRICT_LEVEL=3
PULL_BLOCKHASH_WITH_YELLOWSTONE=true

base-min.json

[
  { "mint": "So11111111111111111111111111111111111111112",
    "tradeSize": [8000000000, 32000000000, 64000000000, 128000000000, 256000000000],
    "minProfit": 10000000,
    "spamFeeBps": 1000,
    "maxPriorityFee": 10000000000
  },
  { "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "tradeSize": [400000000, 1600000000, 6400000000, 12800000000],
    "minProfit": 500000,
    "spamFeeBps": 1000,
    "maxPriorityFee": 10000000000
  }
]

Last updated