MultiversX Tracker is Live!

Automate - Re...hmmm steak

All Cryptocurrencies

by COINS NEWS 102 Views

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.

submitted by /u/johnnyb0083
[link] [comments]
Get BONUS $200 for FREE!

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