
SplitChain
Split. Settle. Simplify.
Project links
About this project
The problem it solves
The Problem SplitChain Solves:
Managing group expenses is often inefficient, with:
1.Lack of transparency on payments.
2.Delays and complexities in settling balances.
3.High transaction fees from traditional apps.
4.Centralized systems that can be insecure.
How SplitChain Solves It:
1.Blockchain Transparency & Security: Every transaction is recorded on the blockchain, ensuring full transparency and preventing disputes.
2.Instant Settlements with USDC: Payments are settled instantly using Coinbase Wallet and USDC, removing delays and simplifying the process.
3.Zero Transaction Fees: SplitChain eliminates traditional transaction fees, making it more cost-effective for group payments.
4.Decentralized Control: By using blockchain, SplitChain provides secure, decentralized transactions with no reliance on third-party services.
5.User-Friendly Interface: Simple, intuitive design ensures users can track expenses and settle payments effortlessly, no matter their crypto experience.
Challenges we ran into
1.Integrating USDC Transactions on Ethereum:
Challenge: Integrating Coinbase Wallet for facilitating USDC transactions on the Ethereum blockchain in a frontend-only solution was a complex task. Ensuring smooth wallet connections, validating transactions directly from the client, and handling security without relying on a backend server required careful attention.
Solution: I utilized the Coinbase Wallet SDK and Ethereum’s APIs to ensure seamless wallet connections and smooth USDC transaction flows. Extensive testing was done to ensure both security and transaction validation were flawless, without compromising performance or user experience.
2.Managing Local Data Storage Efficiently:
Challenge: With a frontend-only architecture, securely storing and managing group expenses using localStorage presented significant challenges. Ensuring data integrity, accessibility, and preventing data loss (if the user cleared their browser cache) required a robust strategy.
Solution: I implemented a periodic backup system for localStorage, alongside real-time data validation checks to ensure data integrity. This approach minimized the risk of data loss and ensured users could rely on the app, even if they cleared their browser cache.
3.Optimizing Gas Fees on Ethereum:
Challenge: Ethereum transactions, while secure, come with unpredictable gas fees, which can make real-time group expense settlements expensive and slow.
Solution: I carefully analyzed and optimized the smart contract calls to reduce unnecessary steps, minimizing gas fees without sacrificing the performance or security of the transaction. This optimization improved the overall user experience, making it both cost-effective and efficient.
How I Overcame These Challenges:
1.Ethereum Wallet Integration: By leveraging the Coinbase Wallet SDK and Ethereum’s well-documented APIs, I ensured smooth and secure wallet interactions, enabling a seamless USDC transaction experience directly from the frontend.
2.Efficient Data Management: To address localStorage limitations, I implemented periodic backups and validation mechanisms, ensuring data wasn’t lost even if the user cleared their cache, thus enhancing data reliability.
3.Gas Optimization: I fine-tuned smart contract interactions by reducing redundant steps, ultimately optimizing gas consumption and providing users with a fast and affordable experience.
About the founder
Building on Base from India