project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

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.

TeleSplit

Created At

ETHGlobal Singapore

Project Description

Ideas

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:

  1. Exploring a C2C business model using Telegram bots.
  2. Completing the Splitwise functionality by allowing users to track debts and pay each other easily within the app.

Technologies used

  • Dynamic wallet: a wallet component to connect to other wallets and also use web2 oauth to login
  • Telegram Web App SDK: A telegram web app SDK to interact with the telegram API
  • Circle: Mock USDC for spliting bills, it can be extended to real USDC
  • AirDAO: A L1 blockchain to deploy mock USDC ERC20 token

Features

  • In-app cloud storage for the user's mnemonic and private key
  • In-app biometric authentication to protect the user's private key
  • Plug-in component to connect to other wallets
  • Create groups with your friends
  • Invite your friends within Telegram
  • Send USDC to other users
  • Receive USDC from other users
  • Split bills with your friends

How it's Made

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.

background image mobile

Join the mailing list

Get the latest news and updates