Warp keeper is a set of bots that monitor the jobs in warp protocol and execute or evict them when certain conditions are met.
For a detailed overview on what is warp and how does the keeper work, please refer to the overview doc.
- Start your own full node or have access to a remote one, it is highly recommended to run your own node to minimize latency as the executable job is executed in a first come first win manner.
- Create a
.env
file, copy the content from.example.env
,MNEMONIC_KEY
is the key that holds fund for the keeper. You can enter your sentry key to receive alert when the bot crash, you can also enable skip to bid your execution / eviction tx.- You can adjust the
MIN_REWARD
value, in principal we would rather set it too high than too low, to avoid reward not able to cover tx fee.
- You can adjust the
- Create a warp account, you can do it on the UI by following the guide.
- Start docker, then run
yarn start-warp-keeper-in-docker
, this will run everything (redis, collector, monitor and executor) in docker. - Congrats! You are doing your part to make Warp protocol awesome! Watch out for any email alert from sentry in case the bot crash.
This bot DOES NOT guarantee to make you profit, as job execution is first come first get reward, because jobs on blockchain are transparent to everyone it's very possible you try to execute a job at the same time as someone else, and the other bot beat you first to the chain, in this case you still spend the tx fee but get no reward.
Although this bot should be working at this point, I'm still tuning it to add proper error handling and try to make it more efficient and profitable.
Feel free to reach me on twitter for any questions or feedbacks.