Watch my Youtube vid (https://youtu.be/vqy_5ix0B1c) for more instructions on how to use this repository.
This code is used to auto compound your DINO tokens that you earn from the DINO/USDC farm on Dinoswap into the Jurassic DINO pool. The tokens are auto compounded every four minutes.
Dinoswap is a yield farm on the polygon network.
You can use this code and extend it for your own personal use. This is not production ready code. Please be very careful with your private key and never push it to a public repository. It's advised that you use an account that doesn't have all your funds attached to it.
- Node JS installed
brew install node
- You have a DINO/USDC LP deposited to the Dinoswap Yield Farm (dinoswap.exchange)
- You have MATIC tokens in your account to pay for gas fees
- navigate to the folder in your terminal
- run
npm install
- copy env_sample to a new file (.env) and enter your Polygon RPC URL and the private key of the account that currently has its LP in the DINO/USDC farm
cp env_sample .env
- make sure that the
.env
file is in the.gitignore
file - Now you're ready to run the auto compounding bot
node index
DINO/USDC Farm - 0x1948abc5400aa1d72223882958da3bec643fb4e5
DINO Jurassic Pool - 0x52e7b0c6fb33d3d404b07006b006c8a8d6049c55