• Hackathons
  • Features
  • Blog

Private Video Poker

A privacy-preserving and fully on-chain retro video poker! 🃏

  • 0 Raised
  • 0 Juries


  • 🔑 Encryption Games [Privacy Track]


  • 🔒 Encryption Games [Privacy Track]
  • 🤫 Secret Network



Private Video Poker

A privacy-preserving and fully on-chain retro video poker, leveraging Secret VRF for on-chain randomness 🃏

DEMO THE GAME - Feel free to come and give us feedback during the hackathon!


KEY VISUAL - We are inspired by classic 80's casino games & old skool teletext <3


TRACK: Encryption Games (Privacy)
CATEGORIES: Secret Network-Native dApps that utilize privacy in their builds, Any game that uses privacy from Secret Network
LICENSE: GNU General Public License v3.0
CONTRACT: secret1lrhqm0y74cd9g0ag7qay5sjlhtp82ulep3tfzn

DISCORD: jensei_
TELEGRAM: @jenseiii

DISCLAIMER: Our project has been created from scratch at the ETHRome.


For our submission, we developed a video poker game called "Private Video Poker." that not only prioritizes fair play through genuine randomness but also places a strong emphasis on user privacy. Here's how we achieved this using Secret Network:

Why Privacy & Randomness Matters in Casino Games:

Casino games inherently involve stakes, often monetary. Players need the assurance that their games are fair, and their interactions, stakes, and winnings remain confidential. In traditional online casino games, players' interactions can be tracked, leading to potential breaches of privacy. As the decentralized web evolves, the need for privacy in applications, especially in casino games, becomes paramount. While blockchains like Ethereum revolutionized the space with smart contracts, their public nature can be a hindrance for applications requiring confidentiality. This is where Secret Network's capabilities shine. 

At the heart of our game lies the need for true randomness to ensure fair play and unpredictability in the game outcomes. To achieve this, we integrated Secret VRF, a secure and verifiable random number generator, into our game mechanics.

How we leverage Secret VRF and Secret Contracts for Fairness and Privacy:

On-Chain Randomness with Secret VRF: Traditional RNG solutions can be centralized and unreliable. By integrating Secret VRF, we ensured that our video poker game outcomes, such as card draws, are genuinely random and verifiable, ensuring fair play.

Privacy by Default: Secret Network's privacy-preserving smart contracts ensure that all interactions in our game are private by default. All inputs, outputs, and states of the game are encrypted, providing a secure gaming environment.

Encrypted Interactions: While our game is decentralized and permissionless, players' interactions, stakes, and winnings are encrypted and remain confidential, ensuring that players can enjoy the game without any privacy concerns.

TEEs for Enhanced Security: Trusted Execution Environments (TEEs) act as a protective layer for data processing. Every validator on the Secret Network operates within a TEE, ensuring that even the nodes cannot access the decrypted information, bolstering our game's privacy.

User Control with Viewing Keys: Players in our video poker game are empowered with viewing keys, allowing them to decide what game data they wish to share, ensuring they maintain control over their data. 

By integrating Secret Contracts & Secret VRF into our game, we ensured a truly decentralized, secure, and private gaming experience for our users. The use of on-chain randomness, combined with the advanced security features of the Secret Network, guarantees fair play and genuine unpredictability in every game outcome.

Are you feeling lucky, Anon?