1.2.0 • Published 2 years ago

@yfi/keep3r-cli-jobs v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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/keep3r-cli-jobs@1.0.1"
"@yfi/keep3r-v2-cli-jobs": "@yfi/keep3r-cli-jobs@1.1.0"
  • 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: