I did a thing!
I wrote a simple cloud function to harvest, trade moons for eth, add the liquidity back to the pool and then stake it. There was a post a few days back from u/maxx3141 about how often you should do this. Got me thinking I should automate it so I can set it and forget it so to speak.
Developing on Arbitrum Nova is so much nicer than ETH, the cheap gas really makes it easy to test in a production environment. The code is on my Github here.
I'm using Google Cloud Scheduler to hit a cloud function based on a cron. You can setup the cron to run at any time period based on the amount of moons you have staked.
You'll need to approve the sushi contracts manually so the trades work, I might add some code later to check the allowance before running and update it if necessary. That would cost extra gas.
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments