Skip to content

Commit

Permalink
Update keeper.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
evanorti committed Mar 28, 2024
1 parent 2489a63 commit e764926
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions docs/guides/keeper.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ import Admonition from '@theme/Admonition';

For general information on keepers, visit the [Overview page](../how/overview.mdx).

There are separate keeper bot scripts for Terra and Injective. The Terra script is stored under [`/bot.terra.ts`](https://github.com/terra-money/warp-sdk/blob/feature/cross-chain/src/bot.terra.ts) and the Injective script is stored in [`/bot.injective.ts`](https://github.com/terra-money/warp-sdk/blob/feature/cross-chain/src/bot.injective.ts).


## Installation

Running a keeper is simple. Warp provides a [GitHub repository](https://github.com/terra-money/warp-sdk) that contains the logic for a simple keeper. Follow these steps to create a keeper.
Expand Down Expand Up @@ -41,5 +38,19 @@ Running a keeper is simple. Warp provides a [GitHub repository](https://github.c
yarn bot-neutron
```

For Osmosis:

```sh Osmosis
yarn install
yarn bot-Osmosis
```

For Neutron:

```sh Neutron
yarn install
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.

0 comments on commit e764926

Please sign in to comment.