Our decentralised marketplace enables secure trading of encrypted vouchers like prepaid Visa cards using stablecoins.
MA Description
Go in as much detail as you can about what this project is. Please be as clear as possible!
This project, named FHE2P (Fully Homomorphic Encryption Peer-to-Peer), is a decentralized voucher marketplace implemented as a smart contract on a blockchain that supports Fully Homomorphic Encryption (FHE). Here's a detailed description of the project:
Core Concept: It allows for the creation, sale, resale, and redemption of encrypted vouchers. The system uses FHE to maintain privacy and security of sensitive voucher data. Key Features: Voucher Creation: Administrators can create vouchers with encrypted codes and PINs. Buying and Reselling: Users can purchase vouchers directly or buy resold vouchers. Voucher Revelation: Owners can reveal their vouchers using a PIN. Metadata Retrieval: Public voucher information can be accessed without revealing private data. Privacy and Security: Voucher codes and PINs are stored in encrypted form. FHE allows for computations on encrypted data without decryption. Only the rightful owner can reveal a voucher's contents. Economic Model: Platform fees are applied to resold vouchers. Stablecoin integration for payments. Voucher Structure: Each voucher contains: Encrypted code and PIN Price Expiry date Owner and seller information Public metadata (image URL, description) User Interactions: Buying: Users can purchase available vouchers. Reselling: Owners can resell their unrevealed vouchers. Revealing: Owners can reveal their vouchers using the correct PIN. Viewing: Users can view available vouchers and their own purchased vouchers. Administrative Functions: Voucher listing Platform fee adjustment Emergency controls (pausing, fund withdrawal) Technical Implementation: Uses Solidity with FHE extensions. Integrates OpenZeppelin libraries for standard functionalities. Implements custom FHE operations for encrypted data handling. Use Cases: Gift card marketplaces Ticket reselling platforms Confidential coupon systems This project aims to create a secure, private, and flexible system for voucher trading, leveraging blockchain technology and advanced cryptography to ensure user privacy and data security while maintaining the functionality of a dynamic marketplace.
This FHE2P (Fully Homomorphic Encryption Peer-to-Peer) project was built using a combination of cutting-edge blockchain technologies and cryptographic techniques. Here's a detailed breakdown of how it was made:
Core Technology Stack:
FHE Integration:
Voucher Structure:
Smart Contract Architecture:
Key Functionalities:
Privacy-Preserving Features:
Metadata Handling:
Economic Model:
Security Measures:
Optimization Techniques:
Notable "Hacky" Solutions:
Partner Technologies:
Testing and Deployment:
This project demonstrates a novel approach to building a privacy-preserving marketplace by leveraging FHE in smart contracts. The combination of blockchain technology and advanced cryptography allows for a secure, private, yet transparent system for voucher trading.