What it does

The Split Protocol is a Defi protocol which lets you manage shared expenses. It acts as an intermediary that collects everyone split and makes a single transfer once the target amount has been reached. But what makes this truly special is that everyone can pay their split in any token out there because the protocol automatically swaps any input token to the recipient’s preferred token which would bring the adoption of an expense-sharing application to a whole different level.

With the Split Protocol the days of missing liquidity due to one of your friends not paying you back for months are over. Even more so the chance of not getting paid back by someone you lend money doesn't even exist anymore. It makes all that possible whilst having no disadvantages to the recipient at all. The recipient does, once an expense is settled, conveniently receive everything in a single transfer in his/her preferred token.

How we built it

We first created the design for the website using Figma. Based on that we started building a Next.js Dapp with TypeScript and Tailwindcss. In Parallel our smart contract developers created the smart contracts in Solidity that would be necessary to make our idea work. Hardhat has been used on their end to assist the development. For the wallet connection, RainbowKit is used. Furthermore wagmi.sh and ethers.js are the libraries that help in the communication between the frontend and the smart contracts. In order to make the swapping functionality possible, we rely on Uniswap v3's protocols. The correct spot prices are displayed with the help of the Uniswap SDK. We are using Polygon as an L2 and developed a subgraph for The Graph to make our data fetching more efficient which we plan on integrating in the front end soon. Last but not least we deployed our Dapp to IPFS with the help of Fleek and our smart contracts have been deployed to the Polygon Mumbai testnet.

Challenges we ran into

We faced many challenges while it was under development it was a tough call for our whole team to develop and integrate things and its implementation was also a big mountain to be climbed. We faced several hardcore errors and after combating them all over, here we are finally with the final product.

What we learned

we learned and gained experience about a number of things and it also helped us develop our skills to a whole new level and taught us to work as a team better.

What's next for SplitDapp

We're planning to go ahead with this project and take it out to massive users platform to help general public solve the problem they face while splitting bills.

Built With

Share this project:

Updates