This script autocompounds VVS farm by harvesting VVS from the farm, selling half of it, adding liquidity to the VVS-USDC pool and adding the LP token to the farm. Note that this project is completely free and open source.
- Node Js
- NPM or yarn
- Already has VVS-USDC LP staked in farm
- Have CRO in your account for gas fees
- Clone this repo
- From the root of this project, get all necessary packages by running
yarn
ornpm install
- Place your private key in the .env file and, [NOTE: Never commit your private key - always delete after running the script]
- Run
npm start
oryarn start
to run the script.
- Allow connection with Metamask and other wallet providers (To avoid private key exposure)
- Create test scripts for testnet
- Create a GUI for easy user experience.
- Create a contract that uses the flow of this script to run the autocompounding (Most likely in another project)
Contribute to this project by creating issues and making a PR to add to it.