fair-baccarat

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

Build Status crates.io

Install

On Mac or Linux:

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

If you have Rust:

bash cargo install fair-baccarat

Usage

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

Example usage:

```bash $ 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