๐Ÿ“V2 Env

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

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!

Last updated