Proof of concept of crash casino game server using "provably fair" system.
Game client: https://github.com/goldenratio/crash-client-react
nix develop
- copy/paste
.env.example
to.env
cargo run
- Build docker image,
./build-docker-image.sh
- Run image,
./run-docker-image.sh
nix build
- creates binary in
result/bin
- run it with env variable,
RUST_LOG=debug ./result/bin/crash-server
for logs
nix build .#dockerImage
docker load < result
- Run image,
./run-docker-image.sh