02-How to take a snapshot of your holders

Welcome back readers ๐Ÿ™

Here we are for the second article, 2 weeks later...

I'm already failing at my 1-2 articles per week, but failure paves the way to success!

โ€œIโ€™ve failed over and over and over again in my life. And that is why I succeed.โ€

โ€” Michael Jordan


Why?

Since I started working at MadSkullz, we have often needed snapshots of a given token (ERC20, ERC721, etc.) but no simple solution existed:

  • Explorers such as etherscan are often too restrictive to extract hundreds of lines.

  • Solutions such as Infura / Moralis are good to begin with but you will close yourself in their proprietary SDKs and once the free tier is reached you will struggle to pivot to some other free solution

  • Directly interrogating RPCs would work but free RPCs rate limiters would get rid of you before you could get your hundreds of lines

A new (very) simple solution was needed.


How?

I won't go too far into technical details as I don't know my audience yet (if any) but let me know in the guestbook if I should explain more the coding and technical details -> https://blog.moz.ninja/guestbook

The technical stack is simple: React JS (with Vite), Ethers JS (to call RPCs to get on-chain data), Github (mainly for the CI using Github Actions) and Firebase for the hosting.

This was enough for the whole current website, but if it scales we would need a database and some cloud functions or even a proper backend.


Result

This tool is accessible at https://moz.ninja for now and more features will be implemented soon.


๐Ÿฅ Click to see what's in the next article ๐Ÿฅ It will be about a project I love and which we're partner with at MadSkullz: Chikn!
โ†ช How to auto-feed your roosters everyday?


Cheers ๐Ÿงก


You'll only receive email when they publish something new.

More from moz
All posts