Skip to content
/ ldice Public
forked from corbifex/ldice

Provably fair dice game made with lisk-sdk

License

Notifications You must be signed in to change notification settings

jj13jj/ldice

 
 

Repository files navigation

LDICE

Provably fair dice game made with lisk-sdk

Full install guide fresh Ubuntu 18.04

adduser ldice
usermod -aG sudo ldice
su - ldice
git clone https://github.com/thepool-io/ldice
cd ldice
bash ldice.sh fullpreqinstall

Log out from ldice user and log back in

su - ldice
cd ldice
npm install
bash ldice.sh setnet ldice_testnet
bash ldice.sh preparedb
bash ldice.sh start
bash ldice.sh logs

Usage help

start - starts ldice node
stop - stops ldice node. Ctrl+C to stop. Wait for graceful exit.
logs - prints current logs
dblogs - prints current database logs
preparedb - prepares database
purgedb - purges & recreates database
readnet - reads current network
setnet - sets network
fullpreqinstall - Installs all dependencies, Ubuntu 18.04 tested.

Tasks to complete

-Native token rights to profit, from the treasury revenue (dividends).
-Rewrite drawing module as block processing extension when available in next lisk-sdk release. Right now this code should NOT by considered production ready. Right now module causes inconsistency in database.

Credits

Corbifex | Moosty

About

Provably fair dice game made with lisk-sdk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.6%
  • Shell 8.7%
  • TSQL 2.7%