diff --git a/README.md b/README.md index b411d1a..086c114 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,13 @@ ## Building -- Place private key in `main/resources` (JSON/Array format, generated by solana-keygen) +- 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` \ No newline at end of file diff --git a/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java b/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java index 6da495c..4cd30f0 100644 --- a/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java +++ b/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java @@ -49,6 +49,8 @@ public void crankEventHeapLoop() { } Account finalTradingAccount = tradingAccount; + log.info("RPC: {}", endpoint); + scheduler.scheduleAtFixedRate(() -> { try { // SOL/USDC