Introduction
Running a Crank Turner
Install the Crank Turner
cargo install tuktuk-crank-turner
If you want to run a crank turner, create a config.toml file with the following:
rpc_url = "https://api.mainnet-beta.solana.com"
key_path = "/path/to/your/keypair.json"
min_crank_fee = 10000
Run the Crank Turner
Then run the crank turner:
tuktuk-crank-turner -c config.toml
You can also provider configuration via environment variables
export TUKTUK__RPC_URL="https://api.mainnet-beta.solana.com"
export TUKTUK__KEY_PATH="/path/to/your/keypair.json"
export TUKTUK__MIN_CRANK_FEE=10000
tuktuk-crank-turner
Requirements
You will need a good Solana RPC that doesn't have heavy rate limits (for when there are a lot of tasks queued). You should also handle restarting the process if it crashes, as this can happen if your RPC disconnects the websocket without a proper handshake.