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

EncrypMarket

EncrypMarket is a decentralized betting platform powered by Fhenix's Fully Homomorphic Encryption (FHE), ensuring complete privacy. Bet amounts, participants, and choices remain fully encrypted, with FHE tokens enabling secure, anonymous transactions on the blockchain.

EncrypMarket

Created At

ETHOnline 2024

Project Description

EncrypMarket 🎲🔐 is an innovative decentralized betting platform that prioritizes user privacy and data security using Fully Homomorphic Encryption (FHE) technology, powered by Fhenix. This platform allows users to place bets while ensuring complete confidentiality, as all bet-related information—such as the bet amounts, identities of participants, and their choices—remains fully encrypted throughout the process. Unlike traditional betting systems that expose sensitive user data, EncrypMarket ensures even the platform itself cannot access this information.

🔑 Key Features:

  • Complete anonymity: 🕵️‍♂️ The identities and bet preferences of all users are fully protected.
  • Encrypted transactions: 🔒 FHE technology encrypts all data involved, including the betting amount and participants.
  • Blockchain transparency: 🌐 Even with full encryption, the system remains decentralized and publicly auditable, ensuring trust and fairness in the process.
  • FHE Tokens: 💰 Users place and receive bets via FHE tokens, adding extra security and seamless integration with the platform’s privacy-preserving features.
  • Sealed data: 🛡️ Bet outcomes are also encrypted, ensuring only authorized parties can access or view the results.

EncrypMarket combines the best of both worlds—🔐 privacy through encryption and 🌐 transparency via blockchain—to create a secure, decentralized, and trusted environment for anonymous betting.

How it's Made

We built EncrypMarket using a combination of cutting-edge technologies to create a secure, decentralized, and privacy-focused betting platform. Here's a breakdown of how we pieced everything together:

  • Fully Homomorphic Encryption (FHE) 🔐: Fhenix's FHE libraries ensure that all bet-related data (bet amounts, participant identities, choices) remains encrypted during processing. This guarantees that sensitive information is never exposed, even to the platform.

  • Fhenix.js 📜: Handles cryptographic functions like generating permits, signing EIP-712 compliant data, and implementing access control. It enables seamless encryption and decryption of data within smart contracts.

  • Solidity & Smart Contracts 🧑‍💻: Smart contracts manage the core betting functions, storing encrypted data and handling bet placement and winnings distribution. They work with Fhenix to ensure privacy.

  • Ethereum Blockchain ⛓️: Deployed on Ethereum for transparency and decentralization. It ensures all bets and transactions are auditable on-chain without exposing user data.

  • FHE Tokens 💰: Users bet with FHE tokens, maintaining encrypted and secure transactions. These tokens play a key role in preserving privacy.

  • MetaMask & ethers.js 🦊: MetaMask is used for wallet management, while ethers.js connects the platform to Ethereum and manages encrypted interactions with smart contracts.

Project Status 🚧 EncrypMarket is still in progress, and I will continue building it after the hackathon with the goal of making it something big and impactful in the decentralized privacy-preserving betting space.

background image mobile

Join the mailing list

Get the latest news and updates