Project Story: CareWallet
Inspiration
The inspiration behind CareWallet stems from the urgent need to address global healthcare inequities and the limitations of existing crowdfunding platforms. We realized the transformative potential of blockchain technology in democratizing healthcare funding, especially for individuals in less developed countries who face significant barriers to accessing medical care. By harnessing the power of the XRPL and its EVM sidechain, we envisioned a platform that not only streamlines the donation process but also brings transparency, security, and efficiency to medical fundraising
What it does
CareWallet is a blockchain-based crowdfunding platform specifically designed for healthcare needs. It enables individuals requiring medical assistance to connect with a global network of funders through a transparent and secure process. Utilizing the XRPL and its EVM sidechain, CareWallet ensures that donations are directly transferred to the treating hospitals, providing donors with clear visibility of how their contributions are used. This platform not only facilitates immediate medical funding but also fosters a culture of trust and community support in healthcare financing.
How we built it
We built CareWallet by integrating blockchain technology with user-centric design principles. The platform is developed using React.js for the front end, ensuring a responsive and intuitive user experience. The backend, powered by Solidity smart contracts on the XRPL EVM sidechain, handles the crowdfunding logic, including fund collection, tracking, and disbursement. CareWallet uses a dual-layered smart contract strategy. We have deployed a smart contract called CareWalletFactory on the XRPL-EVM Sidechain, which acts like a parent smart contract that has the functionality to create and deploy child smart contracts for each individual Fundraiser request and also keeps track of the current requests. Each individual child smart contract for the fundraiser keeps track of the details of that fundraiser such as how much money has been raised for its patient. If the required amount is reached in time, the smart contract will transfer the money raised to the hospital. If the money is not raised in time, the smart contract will trigger an automatic refund to the donors. We focus on creating a seamless interface between the blockchain and the user interface, allowing users to navigate and participate in the crowdfunding process easily.
Challenges we ran into
Throughout the development of CareWallet, we encountered numerous challenges that shaped our journey. The initial hurdle arose during attempts to implement the XRPL - EVM sidechain bridge, where we faced persistent issues in cross-chain transactions, particularly in claiming funds from the bridge. Debugging witness servers added to the complexity.
Effective coordination between the frontend and backend teams, crucial for seamless integration, presented another challenge. Deploying the DApp on Vercel initially faced setbacks related to account permissions and environmental variables configuration. However, with continuous refinements and bug fixes, we successfully hosted the Minimum Viable Product.
The XRPL workshop, though informative, couldn't address all our doubts regarding the XRPL-EVM bridge. Nevertheless, we decided to try to get the bridge working one last time. After hours of rigorous debugging, we were still unable to get it working, much to our disappointment. However, we narrowed down the issue to an error obtained while performing the final step in the cross-chain transaction process of claiming the funds from the bridge to the destination account, which failed numerous times. Consequently, this issue couldn’t be resolved in time for the Round 2 submission and hence we decided to submit the current prototype which is on the XRP-EVM sidechain and works with XRP-EVM Sidechain accounts. However, we are committed to incorporating the XRP Devnet accounts in our end product. We would be grateful if a consultation could be arranged for us to discuss the use of the XRP bridge and witness servers to help us resolve the issue.
As we navigated these challenges, our team displayed resilience and dedication. Looking ahead, we recognize the importance of resolving the witness server issues and optimizing cross-chain functionality for the future success of CareWallet.
Accomplishments that we're proud of
We're proud of developing a platform that not only addresses a critical global issue but does so using advanced blockchain technology in a user-friendly way. We successfully created a system that brings transparency and efficiency to healthcare crowdfunding, which can potentially impact many people. Our ability to overcome technical and regulatory challenges to deliver a secure and compliant platform is also a significant achievement.
What we learned
Throughout this project, we learned about the complexities of integrating blockchain technology into real-world applications. We gained insights into the importance of user experience design in making advanced technologies accessible.
What's next for CareWallet
Looking ahead, CareWallet aims to expand its reach to more regions, especially focusing on underdeveloped countries. We plan to incorporate more features, like NFT-based gratitude tokens, and expand to other sectors like startup funding. Continuous improvement in security and compliance, as well as user experience, remains a priority.
Built With
- evm-sidechain
- javascript
- metamask
- node.js
- react
- solidity
- vite
- web3js
- xrpl
Log in or sign up for Devpost to join the conversation.