From 27305c68965afdc8039da00862449f57e8778328 Mon Sep 17 00:00:00 2001 From: SpaceMonkey Date: Wed, 1 Feb 2023 02:05:10 +0200 Subject: [PATCH] todo list --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d72ecac..6507202 100644 --- a/README.md +++ b/README.md @@ -3,16 +3,23 @@ OpenBook needs to be cranked to process orderbook events. The initial code was taken from the same crank script for openbook in mango-v3-client, so most credit goes to Mango team. -install dependencies: +#### Install deps first: ``` yarn install ``` -Run: +#### Run: make sure to create a JSON file containing the keypair formatted as a byte array e.g. [1,3,4...] ``` ENDPOINT_URL=... KEYPAIR=./path/to/wallet.json ./start-cranker.sh ``` + +#### TODO: + +- Crank multiple markets in the same TX +- Poll the list of top markets using https://openserum.io/api/serum/markets.json?min24hVolume=100000 +- Dynamic priority fee using getRecentPrioritizationFees +- Dynamic frequency based on queue length \ No newline at end of file