Dominion Brings Poker to Midnight With Private Cards and a Verifiable Shuffle
The Webisoft application offers no-limit Texas Hold’em. Its developer has also explained how an earlier version combined encrypted cards, offchain play, and smart contracts on Midnight.
By SongMarketCap
Updated:
Dominion, a poker application developed by Webisoft, is live on Midnight mainnet, Midnight announced in its November 25 network update. The project uses cryptography to keep players’ cards private and let participants check how the deck is shuffled.
In a separate announcement, 1AM, a Midnight wallet built by Webisoft, described no-limit Texas Hold’em, tournaments, private tables, and the option to send an AI agent to play. Dominion’s website labels the application alpha and displays a table with participants identified as AI players.
How Dominion Shuffles the Cards
In Texas Hold’em, each player receives two private cards. Shared cards are then revealed on the table as players decide whether to continue, raise their bets, or fold.
A player holding an ace and a king needs to see those cards to decide how to play. Opponents should not see the hand while it remains private. Players also need a way to check that the deck has been shuffled without anyone knowing the order in advance.
Dominion describes its approach as mental poker, a cryptographic method for playing a card game with hidden information. In a technical article about a version under development on Midnight’s Preprod test network, Webisoft explains how the process works.
Each participant shuffles an encrypted deck and supplies a proof. A component called a relay, along with the other players, checks each shuffle. Decryption shares then allow a player to read their own cards, while shared cards are revealed as betting rounds open.
Midnight’s November update describes Dominion as using shielded smart contracts and zero-knowledge technology. A zero-knowledge proof allows a claim to be checked without publishing all the private information behind it. In its technical article, Webisoft distinguishes the smart contracts used for custody from the separate card protocol that lets participants check the shuffle.
Where the Game and Funds Are Handled
Webisoft’s description separates the poker action from the handling of funds. Players pay for a seat from their wallets, while bets during a hand take place offchain. A fold or raise therefore does not have to wait for a new block.
The relay coordinates the action and signs game updates that players’ software checks. Between hands, players also co-sign their stack totals, according to Webisoft.
The team describes buy-ins and cash-outs as taking place on Midnight. Its contracts are written in Compact, Midnight’s smart contract language.
For private tables, Webisoft describes shielded buy-ins and a payout commitment used in place of a wallet address. To collect, a player proves knowledge of the commitment’s secret. Unshielded tables use direct address payouts.
The relay also acts as a referee in the version Webisoft described. It checks the players’ stack signatures, while the custody contract itself does not verify those signatures or the poker history.
[NEWSBREAK]
AI Tables and the Limits of the Earlier Design
Dominion’s website displays an arena table with participants labeled as AI players and an option to watch. The 1AM announcement also lists tournaments and private tables, as well as the option for users to play personally or send an AI agent.
The announcement and displayed table do not establish how every feature works on mainnet or whether every option is available to all users.
Webisoft’s technical article identifies limits in its Preprod design. The relay alone cannot read the deck, according to the team, but it could expose cards by cooperating with enough other players. In a two-player game, Webisoft identifies the relay and the opponent together as sufficient.
Webisoft also states that the relay can stall play and must authorize a player’s exit. Its article describes the application while it was under development on Preprod; it does not establish whether every part of that design remains unchanged in the mainnet version.
Midnight first featured Dominion in its March network update and reported it live on mainnet in November. The project’s alpha website now displays an AI table, while Webisoft’s earlier technical explanation describes a game in which the relay coordinates play and authorizes exits from the table.