Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

yumingvvv/fair-baccarat

Repository files navigation

fair-baccarat

Development moved to lucasholder/fair.

CLI tool and library that verifies provably fair bets for baccarat game. Compatible with Stake.com provably fair algorithm.

Build Status Build Status Appveyor crates.io

Install

On Mac or Linux:

curl -sL https://raw.githubusercontent.com/lucasholder/fair-baccarat/master/install.sh | sh

If you have Rust:

cargo install fair-baccarat

Usage

fair-baccarat <client_seed> <server_seed> <nonce>

Example usage:

$ fair-baccarat "client seed" "server seed" 2
Client seed: client seed
Server seed: server seed
Nonce: 2
Player won
Player (9): ♦9 - ♦10
Banker (7): ♥4 - ♦3

As expected, we get the same result as on Stake.com.

Rust API docs

fair_baccarat

About

Deterministically plays games of baccarat using a server seed, client seed and nonce.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 81.8%
  • Shell 15.7%
  • PowerShell 2.5%

AltStyle によって変換されたページ (->オリジナル) /