A telegram bot that leverages zksync's native account abstraction to sell your stablecoins when they start to depeg
We created a telegram bot that actively monitors the price of USDC, if it drops below a certain threshold the bot will perform a swap to sell the USDC for Ethereum via Kyberswap on zkSync. The telegram bot interacts with a custom PayMaster contract to sell USDC without user paying gas. This is possible by using account abstraction on zkSync.
We use coingecko for pricing data, ethers.js for interacting with zksync providers, solidity for deploying our custom PayMaster, KyberSwap for selling USDC, telegram api for interacting with the telegram bot, node.js + typescript for running the bot on Railway. We wanted to make this project because we thought it was be interesting to learn more about account abstraction and make it interactive via telegram. It shows how creative you can get with using account abstraction and telegram bots to mitigate risks in defi.