This is a submission for the Midnight Network "Privacy First" Challenge - Enhance the Ecosystem prompt
What I Built
I built Halal Guard, a decentralized application (DApp) that provides a privacy-first solution for Halal food recommendations. It solves the problem of needing to share sensitive dietary preferences with a third party to get personalized recommendations.
The DApp allows users to input their dietary restrictions. It then uses a zero-knowledge (ZK) proof mechanism to verify compliance with a product's Halal criteria without ever exposing the user's personal choices. This ensures that privacy is the core feature, not an afterthought.
Demo
GitHub Repository: https://github.com/cutieyunny-tech/HalalGuard-DApp
Screenshots and a detailed tutorial are available in the project's README.md file.
How I Used Midnight's Technology
This DApp demonstrates the core concepts of Midnight's privacy capabilities. I have simulated the use of Midnight's ZK circuits and MidnightJS within the application's logic.
The user's preferences are handled as private inputs that would be fed into a ZK circuit. This circuit would generate a cryptographic proof. The DApp then verifies this proof against product data on the smart contract, ensuring compliance without ever needing to see or store the user's sensitive information.
Developer Experience Improvements
Set Up Instructions / Tutorial
This DApp is a single, self-contained HTML file. No installation or setup is required.
To run the DApp, simply download the protect_that_data.html file from the GitHub repository and open it in any modern web browser.
A complete, step-by-step tutorial on the project's logic and design is provided in the README.md file in the main repository.
Top comments (1)