A food order platform where only paying customers can leave reviews, ensuring authenticity.
This project builds a map-based food ordering and payment platform where only users who have completed a payment can leave a review. This ensures that all restaurant scores reflect real experiences, preventing fake or biased comments from users who haven’t actually visited the restaurant.Birthday discount verified by Self protocol make it even cooler!
Hoja is a food ordering app that incorporates blockchain technology to enhance the payment and review process. The app allows users to verify if today is their birthday using Self Protocol. If it is, users are eligible for a birthday discount. After verifying the birthday, users can proceed with payment via Polygon or Celo blockchain networks, offering low-cost and fast transactions. Once the payment is completed, the app adds the user to a Semaphore group and generates a ZK Proof to ensure privacy. With this proof, users can then leave anonymous reviews on the app.
Here’s how we built it:
Self Protocol Integration: We integrated Self Protocol to verify users' birthday information. Using their SDK, users can authenticate their birthday and the data is securely verified with ZK-proof on-chain. The integration ensures privacy and accuracy of the user's personal data, as Self Protocol provides decentralized identity verification without exposing sensitive information.
Blockchain Payments with Polygon and Celo: Payments are processed on Polygon and Celo, two blockchain networks known for their low fees and fast transaction speeds. Users can select their preferred chain.
Semaphore Group for Privacy: After a successful payment, users are added to a Semaphore group, ensuring that reviews are both anonymous and secure. Semaphore provides cryptographic privacy by allowing users to generate and share ZK Proofs without disclosing their identity, enabling them to leave comments without compromising privacy.
Technologies Used Self Protocol: For verifying the user’s birthday using decentralized identity (ZK-proof).
Polygon & Celo: For handling payments with low fees and fast transaction speeds.
Semaphore: For managing user anonymity and generating ZK Proofs for secure, privacy-preserving reviews.
The integration of ZK Proofs and Semaphore was particularly interesting. We used a combination of cryptographic primitives to ensure that users’ personal data was never exposed while still allowing them to participate in the review process. The entire process was built with decentralized identity in mind, ensuring privacy at every stage, from payment to review submission.
By using Self Protocol, Polygon, Celo, and Semaphore, we created a seamless and secure experience for users, especially those unfamiliar with cryptocurrencies, by abstracting away the complexities of blockchain interactions. This approach gives us a unique, privacy-preserving way to engage users while leveraging blockchain's advantages.