Advertisement
iefhanz

bot conf

Oct 25th, 2024
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 1.65 KB | None | 0 0
  1. [bot_misc] #required
  2. keypair_path="./keypair.txt" # required for signing transactions
  3. swap_threads=0 # Leave at 0 if not sure.
  4. jito_threads=0 # Leave at 0 if not sure.
  5. #spam_threads=0 # Not needed for Jito.
  6.  
  7. [jupiter] #required
  8. url="http://127.0.0.1:8080/"
  9. http_timeout_ms=3000 # swaps make 3 jupiter requests, this is how long 1 request can take before timing out
  10. http_pool_max_size=50 # scale up as needed, 50 should be a fair starting point
  11.  
  12. ######################################
  13.  
  14. [[jito]] # required at least 1 enabled if using Jito
  15. enabled=true
  16. url="https://ny.mainnet.block-engine.jito.wtf"
  17. http_timeout_ms=3000
  18. http_pool_max_size=5
  19. requests_per_second=10
  20. queue_timeout_ms=7500
  21.  
  22. ####################################################################################################
  23.  
  24. [jupiter_token_fetcher]
  25. fetch_ms=10_000
  26. max_per_cycle=10
  27. required_tags=[
  28.     ["pump", "verified"],
  29.     ["birdeye-trending"],
  30. ] # Juptier token tags can be found here: https://station.jup.ag/docs/token-list/token-list-api
  31.  
  32. [[static_mint_list]] # at least 1 mint supplier required - for more in depth mint suppliers, please refer to https://config.notarb.org/
  33. enabled=true
  34. random_order=true
  35. max_per_cycle=1 # limits this supplier to 5 tokens before moving on to the next available supplier (doesn't have any effect if this is the only mint supplier active)
  36. mints=[
  37.    "So11111111111111111111111111111111111111112",  # sol
  38. ]
  39.  
  40.  
  41. #########
  42. #  SOL  #
  43. #########
  44. [[swap]]
  45. enabled=true
  46. mint="SOL"
  47.  
  48. [swap.strategy_defaults]
  49. wrap_unwrap_sol=true
  50. jito_enabled=true
  51.  
  52. [[swap.strategy]]
  53. min_spend=8
  54. max_spend=10
  55. min_gain_lamport=1000000
  56. jito_tip_lamport=-50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement