fair-js
v1.2.3
Published
FairJS is a JavaScript library for generating provably fair numbers in online gambling and betting applications. It provides a set of functions for generating integers, floats, and dice rolls, as well as utility functions for combining seeds and hashing d
Downloads
13
Maintainers
Readme
fairjs
FairJS is a JavaScript library for generating provably fair numbers in online gambling and betting applications. It provides a set of functions for generating integers, floats, and dice rolls, as well as utility functions for combining seeds and hashing data using the SHA-512 algorithm. FairJS uses a combination of client seed, server seed, and nonce to ensure that the generated numbers are transparent and fair. It's simple to use and integrates easily into existing applications. FairJS is released under the MIT license and is free for personal and commercial use.
Please refer to the wiki if you don't understand how to implement it :D https://github.com/Disemerge/fairjs/wiki/API