How to monitor Harvest Finance's smart contracts without writing a single line of code
Keep track of smart contract events using coinfu.io
I recently learned about Harvest Finance Developer Contest and since I love twitter bots, I decided to build one for the event. What kind of bot should I build though? Let's ask on Discord.
I got a very interesting response.
After some more digging, I found all the information I needed.
coinfu.io already has the ability to watch smart contract function calls, so let's go ahead and subscribe to that event.
And so, @GoodestFarmDog is born!
We still need to know what the tweet would look like right? So I created a test event based on a previous announceStrategyUpdate transaction.
So, did I end up accomplishing what I set out to do? No. I didn't have enough time to implement the diff feature to compare old and new strategies. Not to mention, a twitter bot that informs farmers about harvest vault events already exists: @farmer_fud
Yes indeed, @GoodestFarmDog still has a long way to go, but I'm glad that this exercise helped broaden my perspective on what we can do by simply watching smart contracts.
Anyway, that's it! I hope this post inspires other people to think of other ways to improve, enhance, and automate how we use cryptocurrencies.