@yfi/keep3r-cli-jobs
Version:
Yearn Keep3r CLI Jobs
73 lines (56 loc) • 1.84 kB
Markdown
[](https://www.npmjs.org/package/@yfi/keep3r-cli-jobs)
# Yearn Keep3r CLI Jobs
This repository contains the scripts to run Yearn's jobs.
## How to Install
- Install the package
`
yarn add /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:
- [Harvest-V2](https://github.com/yearn/keep3r-cli-jobs/blob/main/src/mainnet/harvest-v2/README.md)
- [Tend-V2](https://github.com/yearn/keep3r-cli-jobs/blob/main/src/mainnet/tend-v2/README.md)