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.
Credits & Inspirations
This project is a culmination of a few different creative efforts and inspirations, including:
Collaborative Teamwork: Key concepts, brainstorming sessions, and core ideas came from team projects I was a part of, including my work with the Ecoquest team and my participation in a game jam.
Independent Research: The "halal guard" concept was derived from my personal research, specifically from my PhD documents and a notebook.
External Sources: The overall aesthetic and certain mechanics were influenced by various other sources, including the Google AI Multimodal Hackathon and different games I have played.
This project is a reflection of all these influences blended together, and I'm grateful for the collaborative spirit that helped shape it.
Top comments (1)