Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 491 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 491 Bytes

ob-cranker

  • Cranks SOL/USDC and other markets on OpenBook v2

Requirements

  • Docker

Building

  • Place private key (privateKey.json) in main/resources (JSON/Array format, generated by solana-keygen)

  • Set application.endpoint (RPC) & application.privateKey (file name) in application.properties

  • docker build .

Running

docker run CONTAINER_NAME

Running w/ Specific RPC (without recompiling)

docker run -e APPLICATION_ENDPOINT=YOURSOLANA_RPC_HERE CONTAINER_NAME