Go to file
SpaceMonkey d4301d970c cu limit is too low 2023-02-01 02:08:26 +02:00
src cu limit is too low 2023-02-01 02:08:26 +02:00
.gitignore init 2023-02-01 02:00:34 +02:00
LICENSE init 2023-02-01 02:00:34 +02:00
README.md todo list 2023-02-01 02:06:00 +02:00
package.json init 2023-02-01 02:00:34 +02:00
start-cranker.sh init 2023-02-01 02:00:34 +02:00
tsconfig.json init 2023-02-01 02:00:34 +02:00
yarn.lock init 2023-02-01 02:00:34 +02:00

README.md

OpenBook crank script

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 deps first:

yarn install

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: