project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

JackSeal

JackSeal is a texas holdem poker but encrypted. Using Fully Homomorphic encryption, there is no need to decrypt your bet and card data for computation.

JackSeal

Created At

ETHOnline 2024

Project Description

Issues in offline poker

  1. Card Marking: Some players subtly mark or crimp cards to identify valuable ones, giving themselves an unfair advantage over others who play honestly.
  2. Hidden Surveillance: The use of hidden cameras or communication devices enables cheaters to access their opponents' hole cards, eroding the foundational element of secrecy and strategy in poker.

Issues in traditional online poker

  1. Trust: Players must trust the platform to handle the game fairly, including shuffling and dealing cards. This reliance on the platform introduces potential risks of bias, manipulation, or even internal cheating.
  2. Collusion: Insider threats are a concern, as employees with access to the system could potentially exploit their position to gain unauthorized access to sensitive game data or influence the outcome of games.

Issues in mental poker

  1. Scalability and experience: Mental poker requires players to perform complex cryptographic operations on each player’s side. This overhead produces inefficiencies and a bad experience to players.
  2. Incomplete privacy: The transition from plaintext to encrypted cards on a player’s end exposes knowledge of card values, which can potentially undermine poker’s integrity.

Solution**: Encrypted deck:** With FHE, the entire deck can be encrypted, ensuring that cards remain hidden and secure throughout the game. Players can only decrypt their own hands, making it impossible for cheaters to mark, or identify valuable cards.

Trustless: Since there is no involvement of a third party that is managing poker game sessions, there is no risk of collusion or insider cheating. FHE ensures that no information is leaked during the game, as all operations are performed on encrypted data.

How it's Made

This is a CLI project made using nodejs, players need to create table to start playing. For FHE support I have used Fhenix chain. After which players buy game chips which are encrypted using FHE so no one know how much you purchased. Players need to receive their two cards before starting the game, these are generated onchain in a FHE encrypted and random manner, ensuring no confidential card information is leaked. Players can see what is behind their encrypted cards by reencrypting them under their wallet's public key fully homomorphically, this way they can decrypt it offchain clientside using their wallet's private key.

background image mobile

Join the mailing list

Get the latest news and updates