How to run a keeper
For general information on keepers, visit the Overview page.
There are separate keeper bot scripts for Terra and Injective. The Terra script is stored under /bot.terra.ts
and the Injective script is stored in /bot.injective.ts
.
Installation
Running a keeper is simple. Warp provides a GitHub repository that contains the logic for a simple keeper. Follow these steps to create a keeper.
-
Clone the repo.
-
Add your mnemonic to the
config.{chain}.json
file that corresponds to your chain. -
Run the following commands from the cloned repository depending on your chain.
For Terra:
For Injective:
For Neutron:
Your keeper should be up and running. It will evaluate conditions in the queue and execute job messages whose conditions have been met. Once executed, your keeper will receive the rewards included with each job.