A PancakeBunny bot that does automatic token claim every week, it also has a function to withdraw if a price is reached with this strategy:
Pool A) a high APY crypto pool (e.g. CAKE / BUNNY) Pool B) a more stable (but lower APY) flip pool or stablecoin (e.g. USDT-BUSD, BTC-BNB, USDT-BNB, BUSD-BNB, USDT, BUSD etc.)
e.g. Swap price set to 24-30
Assuming the bot starts with 10 CAKE and the price is 35
- The price falls to 30
- The bot withdraws the tokens from the CAKE pool
- Zaps all CAKEs to USDT-BUSD
- Deposits the USDT-BUSD to the USDT-BUSD flip pool
- The price falls to 23 then rises to 25
- The bot withdraws the USDT-BUSDs and zaps them to CAKEs
- then it deposits them to the CAKE pool again
(this feature is in WIP, at the moment the bot can only claim tokens every week)
- download the code from github to your local machine
- make sure your local machine is safe (fresh new linux install recommended)
- export your ethereum BSC private key from metamask and save it into a file named "~/pancakebunny-private-key.txt"
- make sure you have sufficient BNB balance (10-20$ should be alright)
- make sure you have sufficient Token balance (e.g. CAKE) - (if this is the first time testing the bot, please put a low amount of Tokens (CAKEs), I cannot guarantee that the bot is bug free, always check bscscan and the bot logs, if you see an error stop the bot, use this code at your own risk, end of the disclaimer, you have been warned :])
- run
npm install
- go on https://pancakebunny.finance/zap - select Bunny on the top select box - Click the approve button to approve zapping Bunny
- go on the pool you want to configure (e.g. https://pancakebunny.finance/pool/CAKE) and click approve (e.g. approve CAKEs on CAKE Pool)
- make sure you have some BNBs on the account to pay for the gas fees or the transactions will fail
to run the bot, execute the start command:
npm start
LICENSE
GPLv3 - use this code at your own risk
@makevoid