Natural language interface for the Gearbox Protocol in the form of a Telegram bot, showcasing the power of Credit Accounts and Gearbots.
GearboxGPT is a natural language interface for the Gearbox Protocol built as a Telegram bot. This bot makes full use of Gearbox's Credit Accounts and its latest Gearbots to completely upgrade the user experience. No more key management, just manage your wallet using natural language!
Features:
This project uses OpenAI's latest Assistant API to create a custom Assistant tailor-made for the Gearbox Protocol. It is equipped with knowledge of the entire Gearbox Protocol documentation as well as several function call information to retrieve various data about the protocol and perform transactions on users' credit accounts via gearbots (performing the transaction part is actually just mocked right now but with more time it should be very easy to setup). The telegram bot was built using an npm library called telegraf and was deployed on fly.io on node. The bot uses LiteFS to persist user info like the user's credit account.