Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.18 KB

README.md

File metadata and controls

52 lines (33 loc) · 1.18 KB

Phuture Keeper Script

This repository enables keepers of the Keep3r Network to execute Phuture's jobs on Ethereum.

How to run

  1. Clone the repository
  git clone https://github.com/Phuture-Finance/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:order
  yarn start:deposit-manager

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/order-job.js
  node dist/deposit-manager-job.js

Keeper Requirements

  • Must be a valid (activated) Keeper on Keep3r V2

Useful Links