ARB Protocol
  • ♻️ARB Protocol
  • 🤖Arbitrage Bot
    • ⚙️Setup
      • Preperation
      • Installation
      • Running the bot
    • 🏎️Optimization
      • Connection / RPC
      • Jupiter API
      • Configuration
      • Additional Tips
  • 🏗️JupGrid
    • 👋Introduction
    • 🛠️Installation
    • 🧮Configuration
    • 🏃‍♂️Usage
  • References
    • 💱Arbitrage
    • 📝V2 Config
    • 📝V2 Env
  • 🌎Socials
    • X (Twitter)
    • Discord
  • 🪙ARB
    • Jupiter Swap
    • Birdeye
    • CoinGecko
Powered by GitBook
On this page
  • Example env
  • Extra fields (Only use if you know what you’re doing!)
  1. References

V2 Env

PreviousV2 Config

Last updated 11 months ago

This page details the spec for the env.json file for the v2 bot. Learn more .

Example env

{
    "keypair": "",
    "jup": "",
    "rpc": "",
    "send_rpcs": [""]
}
  • keypair (string): The private key of the wallet you want to use.

  • jup (string): A Jupiter API URL.

  • rpc (string): A Solana RPC URL.

  • send_rpcs (list of strings): The URLs of the RPCs you want to send transactions to.

Extra fields (Only use if you know what you’re doing!)

  • block_engines (list of strings, optional): The URL of the Jito block engine you want to use, with the bundles path. Defaults to https://mainnet.block-engine.jito.wtf/api/v1/bundles

  • grpc (string, optional): A Solana gRPC URL. Defaults to nothing, and only used in conjunction with the docker option.

  • docker (string, optional): The docker endpoint you want to use. Defaults to nothing. Find it with docker context list - it’s probably something like unix:///var/run/docker.sock. Untested on Windows!

📝
here