split bills onchain

The problem DiSect solves

-DiSect provides a service to allow two or more wallets to take part in buying anything like a NFT asset or token on web3.
-The MVP allows users to split bills equally but more functionality can be added to split bills in given proportion.

Challenges we ran into

One of the challenges we faced was to collect the gas fees from the users before the transaction is executed. To tackle this we allowed users to pay an initial maximum gas fees to the contract. The contract uses the gas fees needed for the transaction and the contract holds the remaining fee which can be used for future transactions. If user wants to exit the group, the amount can be sent back to respective wallet addresses.