flâneur — a map of the web's best reading

near-examples/poker: Decentralized poker using NEAR blockchain as a backend.

github.com · 1,493 words · saved by 1 readers

Decentralized poker using NEAR blockchain as a backend.

Poker Play online poker without third parties (and without fees). Bet with NEAR. Profit . Based on Mental Poker algorithm proposed by Shamir, Rivest, Adleman . Security details The poker contract is a "fair game" with some caveats. Pros: Unbiased deck shuffling. Provable and secret card drawing. Cons: If a player leaves the game the game stalls. Tokens of the player that left the game are slashed and remaining tokens are turned back to other participants. ZK-Proofs are required to avoid: players submitting invalid data while shuffling deck and partially revealing a card. players learning secre

Explore this link on the map →

saved by

related reading