Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 1.8 KB

README.md

File metadata and controls

72 lines (56 loc) · 1.8 KB

image

Yearn Keep3r CLI Jobs

This repository contains the scripts to run Yearn's jobs.

How to Install

  • Install the package

yarn add @yfi/keep3r-cli-jobs

  • To run both Yearn Strategies versions (v1 and v2) change the package json to:
"@yfi/keep3r-cli-jobs": "@yfi/[email protected]"
"@yfi/keep3r-v2-cli-jobs": "@yfi/[email protected]"
  • Add the jobs to you configuration file
    {
        ...
        "jobs" : [
            ...,
            {
                "path": "node_modules/@yfi/keep3r-cli-jobs/dist/src/mainnet/harvest-v2"
            },
            {
                "path": "node_modules/@yfi/keep3r-cli-jobs/dist/src/mainnet/tend-v2"
            }
        ]
    }
  • Or add both versions for coexistence
    {
        ...
        "jobs" : [
            ...,
            {
                "path": "node_modules/@yfi/keep3r-cli-jobs/dist/src/mainnet/harvest-v2"
            },
            {
                "path": "node_modules/@yfi/keep3r-cli-jobs/dist/src/mainnet/tend-v2"
            },
            {
                "path": "node_modules/@yfi/keep3r-cli-jobs/dist/src/mainnet/tend-v2-beta"
            },
            {
                "path": "node_modules/@yfi/keep3r-v2-cli-jobs/dist/src/mainnet/harvest-v2"
            },
            {
                "path": "node_modules/@yfi/keep3r-v2-cli-jobs/dist/src/mainnet/tend-v2"
            }
        ]
    }
  • Run the Keep3r CLI

For further information about the jobs, follow the individual guides: