This repository enables keepers of the Keep3r Network to execute Yearn's jobs on Ethereum.
- Clone the repository
git clone https://github.com/yearn/keeper-scripts
- Install dependencies
yarn install
-
Create and complete the
.env
file usingenv.example
as an example -
Fine-tune the constants in
src/constants.ts
to your liking. Read the docs for a technical in-depth explanation. -
Try out the scripts
yarn start:factory-harvest-v1
yarn start:tend-v2
yarn start:harvest-v2
- Build the typescript into javascript
yarn build
- Run the jobs directly from javascript (using PM2 is highly recommended)
node dist/src/factory-harvest-v1.js
node dist/src/tend-v2.js
node dist/src/harvest-v2.js
Factory-Harvest-V1 Job:
- Must be a valid keeper on Keep3r V2
Tend-V2 Job
- Must be a valid keeper on Keep3r V2
- Have at least 50 KP3R bonded on Keep3r V2
- Should not be a contract
Harvest-V2 Job:
- Must be a valid keeper on Keep3r V2
- Have at least 50 KP3R bonded on Keep3r V2
- Should not be a contract
- Should at least have 1 ETH bonded on the Stealth Vault
- Should enable Stealth Relayer through the Stealth Vault. This should be done by calling the Vault's method enableStealthContract