var img = document.createElement('img'); img.src = "https://terradocs.matomo.cloud//piwik.php?idsite=3&rec=1&url=https://docs.warp.money" + location.pathname; img.style = "border:0"; img.alt = "tracker"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(img,s);
Skip to main content

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.

  1. Clone the repo.

  2. Add your mnemonic to the config.{chain}.json file that corresponds to your chain.

  3. Run the following commands from the cloned repository depending on your chain.

    For Terra:

    Terra

    _10
    yarn install
    _10
    yarn bot-terra

    For Injective:

    Injective

    _10
    yarn install
    _10
    yarn bot-injective

    For Neutron:

    Neutron

    _10
    yarn install
    _10
    yarn bot-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.