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

DocuEarn

Privacy-focused dApp which allows anybody to earn USD by contributing confidential health data to research studies, without compromising their privacy

DocuEarn

Created At

ETHGlobal Bangkok

Winner of

Polygon - Real-World Impact: Best Social Good Application on Polygon Runners-up

Project Description

Problem: Cancer is more pervasive and deadly than you can imagine. About 1 in 5 people will develop cancer in their lifetime, according to World Health Organization. Despite advances in precision medicine, several challenges still persist and contribute to millions of cancer deaths annually.

  1. Delayed diagnosis plays a significant role in delaying treatment and reducing chances of survival but the underlying cause is actually the lack of early detection biomarkers which refer to specific biological genes or patterns that can be measured in the body to identify the in its early stages—before symptoms appear. These biomarkers are critical for diagnosing diseases early when they are more treatable. In order to identify them, researches need a critical mass of confidential health data.

  2. However, concerns about privacy prevent people from sharing health data. The lack of data diversity & volume for research limits the ability to identify early detection biomarkers.

  3. Furthermore, there is also no incentive or reward for people to provide data, making the gathering of sensitive records extremely difficult for researchers.

Our Solution: DocuEarn is a privacy-focused dApp that allows anybody to earn USD by contributing confidential health data without compromising their privacy (thanks to zero-knowledge proofs!)

For users like you and me, earning passive income has never been easier! All you have to do is log in via google, upload your health documents, and earn each time your data is used.

For researchers, crowdsourcing data has never been easier! All you have to do is log in via google, select the types of data required, and pay to download the consolidated dataset.

How it's Made

For our frontend, we utilized TypeScript, Vite, and React to build a seamless user interface that includes an email-based login system. This abstracts the complexities of blockchain onboarding, allowing users to interact with the platform without needing prior blockchain knowledge. On the backend, we implemented Privado ID to generate cryptographic credentials for users, enabling the creation of zero-knowledge proofs. These proofs verify user identity securely when submitting data, ensuring that the data provided is authentic and meaningful. We leveraged Sign Protocol to create attestations for every document submitted by users, offering researchers confidence in the validity of the data they are accessing.

The transfer and management of funds are handled by smart contracts deployed on the Polygon Amoy Testnet, developed using Solidity and Hardhat. These contracts ensure secure and transparent transactions. To simplify blockchain interactions for users, we applied account abstraction through Web3Auth. This enables users to sign in with their email addresses, receive funds, withdraw funds, and generate zero-knowledge proofs, all without needing to understand blockchain technology. Moreover, payments made to users in USDC are automatically converted to USD and transferred to their bank accounts, maintaining the spirit of accessibility and usability.

Additionally, for user profiles, we integrated NounsDAO artwork, using their creative and vibrant imagery to personalize user identities. Beyond aesthetics, this adds a playful and engaging touch to the platform while leveraging open-source creative assets that align with blockchain's ethos of decentralization and collaboration.

background image mobile

Join the mailing list

Get the latest news and updates