From 8cffb7aec9559bff9325525556ef2784252677ce Mon Sep 17 00:00:00 2001 From: SpaceMonkey Date: Wed, 1 Feb 2023 02:10:39 +0200 Subject: [PATCH] update README to explain env vars --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 6507202..bb7d3d3 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,16 @@ make sure to create a JSON file containing the keypair formatted as a byte array ENDPOINT_URL=... KEYPAIR=./path/to/wallet.json ./start-cranker.sh ``` +to run in the background, pass "-d" or "--daemon" + +env args to pay attention to: + +``` + HIGH_FEE_MARKETS, // markets to apply a priority fee for e.g. [0,1] to apply on the first two markets in markets.json + DEFAULT_CU_PRICE, // extra microlamports per cu for any market + PRIORITY_CU_PRICE, // extra microlamports per cu for high fee markets +``` + #### TODO: - Crank multiple markets in the same TX