Airstack Spam Protector Snap

Airstack Spam Protector Snap

Airstack Spam Protector Snap empowers the user to take better decisions while interacting with Dapps or transferring tokens using metamask by calculating score using on-chain interactions and socials

The problem Airstack Spam Protector Snap solves

We have seen alot of front-end hacks happening which results to loss of millions of dollars by users and protocols.
To mitigate this risk, it is very important to educate users proactively when they interacte with any Dapp or token transfer.

As per the post(https://www.binance.com/en-IN/feed/post/877947), there are more than 100 million metamask account and 30-million active users(https://bitkan.com/learn/how-many-metamask-wallets-are-there-why-does-metamask-have-many-users-6016). So it would be great to have a solution in metamask itself to empower user to take better decision while transacting.

Snap calculates a score based on accounts who are transacting and their on-chain social interactions at lens and farcaster. Based on the score, it provides information to user in friendly manner . Even the naive user can then take decisions whether to confirm or re-check the transaction parameters.

Score is calculated using Airstack's blazing fast apis which provides information about users interactions on ethereum and polygon involved in the transaction to be done. After the score is determined, it maps it to user friendly messages like Stay cautious, Connected and Strongly Connected

Challenges I ran into

Found a bug in Airstack's api for social following. It was returning incorrect data when an account didn't had any socials.
Debugging metamask snap.

Discussion