TeleSplit
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.
Screenshots






Problem Statement
IdeasTelegram 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 bySplitwise. 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:Exploring a C2C business model using Telegram bots.Completing the Splitwise functionality by allowing users to track debts and pay each other easily within the app.Technologies usedDynamic wallet: a wallet component to connect to other wallets and also use web2 oauth to loginTelegram Web App SDK: A telegram web app SDK to interact with the telegram APICircle: Mock USDC for spliting bills, it can be extended to real USDCAirDAO: A L1 blockchain to deploy mock USDC ERC20 tokenFeaturesIn-app cloud storage for the user's mnemonic and private keyIn-app biometric authentication to protect the user's private keyPlug-in component to connect to other walletsCreate groups with your friendsInvite your friends within TelegramSend USDC to other usersReceive USDC from other usersSplit bills with your friends
Solution
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.
Hackathon
ETHGlobal Singapore
2024
Contributors
- vivianjeng
45 contributions
- chengggkk
11 contributions