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.
- Host: GitHub
- URL: https://github.com/alexcambose/provably-fair-example
- Owner: alexcambose
- License: mit
- Created: 2019-10-06T20:21:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T06:39:47.000Z (over 2 years ago)
- Last Synced: 2025-03-27T09:05:47.195Z (2 months ago)
- Topics: betting, blockchain, casino, dice, fairness, gambling, hash, javascript, legal, nonce, provable-things, provably-fair, pseudo-random, random, seed
- Language: JavaScript
- Homepage: https://medium.com/@alexcambose/provably-fair-system-in-javascript-6457e028d2aa
- Size: 36.1 KB
- Stars: 41
- Watchers: 2
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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