Lisk Casino is a functioning blockchain application build with the Lisk SDK. The RNG module generates deterministic pseudo random numbers using a seed block hashes in combination with a custom seed to add flexible usage. Blackjack and lottery games are added as an example use for the rng module.
A demo can be tried out at: casino-demo.moosty.com Create an account and get free tokens to play around with.
Clone this repository at the desired location:
git clone https://github.com/Moosty/lisk-casino.git
First make sure you have node version v12.22.x
installed on your machine.
cd lisk-casino/backend
npm install
cd lisk-casino/frontend
npm install
To run the blockchain application after successful installing the backend and frontend, you need to open two terminals:
cd lisk-casino/backend
./bin/run start --enable-http-api-plugin
cd lisk-casino/frontend
npm run start
This will open the browser at http://localhost:3000/
where you can use the app.
Copyright 2021 Moosty
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.