Tele-Split is a Telegram bot that allows you to split bills with your friends. It is built with the Telegram Web App and uses the blockchain to enable transactions.
Telegram bots are becoming increasingly popular, now extending support to the TON ecosystem. However, there's a growing demand for EVM-based features in Telegram web apps and games. With a Telegram bot, we can easily build online stores, games, and enable seamless in-app payments using an EVM wallet. This functionality supports not just B2C models, but also C2C social interactions.
An example of this is TeleSplit, inspired by Splitwise. When people travel together, they often need to track shared expenses, but Splitwise only records debts and doesn't facilitate payments. This creates difficulty in tracking finances and settling debts automatically.
TeleSplit addresses these issues by:
We use dynamic to let users connect their existing wallets in telegram bot. It also allows user to login through email, web2 OAuth. It creates seamless user experience to connect to users wallet. The Telegram Web App SDK is used to perform telegram web app functions, such as cloud storage, biometric authentication, and user authentication. These functions can only be used in telegram web browser. With telegram native cloud storage and biometric authentication, it makes private key storage more easy, safe and more portable. The payment of TeleSplit is inspired by USDC. USDC is one of the most uses stable coins. The situation that users travel with friends, they want to keep the value stable instead of floating prices. In this project we deployed an ERC20 called USDC and used it in the peer payment. It is more reasonable to pay with USDC instead of ETH or native coin. It will be easily to switch to real USDC/EURC when switching the contract address since the ABI is the same. We explore the usage of AirDAO that we deployed a mock USDC on AirDAO testnet, and the wallets can switch to AirDAO seamlessly.
We also use the following tools for building: next.js, vercel and mongodb Next.js and Vercel plays an important role in deploying the bot and the service. Mongodb is used to store the user groups, splits and so on.