Skip to content

defi-wonderland/sidechain-oracles-keeper-scripts

Repository files navigation

Sidechain Oracle Keeper Script

This repository enables keepers of the Keep3r Network to execute Sidechain Oracle's jobs on Goerli.

How to run

  1. Clone the repository
  git clone https://github.com/defi-wonderland/sidechain-oracle-keeper-scripts
  1. Install dependencies
  yarn install
  1. Create and complete the .env file using env.example as an example

  2. Fine-tune the constants in src/constants.ts to your liking. Read the docs for a technical in-depth explanation.

  3. Try out the scripts

  yarn start:data-broadcast
  yarn start:data-fetch

Run in production

  1. Build the typescript into javascript
  yarn build
  1. Run the job directly from javascript (using PM2 is highly recommended)
  node dist/data-broadcast.js
  node dist/data-fetch.js

Keeper Requirements

Useful Links