An open API service indexing awesome lists of open source software.

https://github.com/alexcambose/provably-fair-example

Provably fair implementation done in javascript.
https://github.com/alexcambose/provably-fair-example

betting blockchain casino dice fairness gambling hash javascript legal nonce provable-things provably-fair pseudo-random random seed

Last synced: about 2 months ago
JSON representation

Provably fair implementation done in javascript.

Awesome Lists containing this project

README

        

# Provably fair example

A provably fair example build with express, and plain javascript.

### What is **provably fair**

A provably fair algorithm allows users to check and analyze the legitimacy of every roll and confirm that the server/house did not alter them in their favor. By using a provably fair algorithm to generate random numbers neither players nor the operator of the site can know the result of the game before it starts.

For more information about the techincal details of the implementation check out this article

[Provably fair system in javascript - What is and how to build a provably fair system in javascript](https://medium.com/@alexcambose/provably-fair-system-in-javascript-6457e028d2aa)

## Getting Started

### Prerequisites

Nodejs 8+ installed

### Installation

[Clone](https://git-scm.com/docs/git-clone) this repo

```
$ npm install
```

## How to use?

```
$ npm run start
```

Open you favourite browser on [localhost:3000](http://localhost:3000/).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details