fair-js

1.2.3 • Public • Published

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

Package Sidebar

Install

npm i fair-js

Weekly Downloads

7

Version

1.2.3

License

MIT

Unpacked Size

7.63 kB

Total Files

3

Last publish

Collaborators

  • disemerge