Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

17 stars

Watchers

0 watching

Forks

Repository files navigation

Stake Dev Tool

Stake Dev Tool

The open-source workbench and cloud platform for slot games on the Stake Engine RGS contract.

Latest release Total downloads CI License

Website · Cloud · Download · Docs · Contributing


Building a slot for Stake Engine means iterating against an RGS all day: spin, inspect the event stream, tweak the front, force that one rare outcome, show it to QA. Stake Dev Tool makes that loop instant — locally on your machine, in the browser for your team, and through real playable links for everyone else.

One Rust engine, three surfaces:

  1. Desktop app — the local dev loop: front hot-reload, local math, instant restarts. Free and MIT forever.
  2. Web workbench — the same workbench served from the cloud. Math devs, QA and PMs get it in a browser with zero install.
  3. Share links — every link is a real hosted game instance on its own <slug>.play. subdomain, playing against a real server-side RGS. Your math files never leave the server.

The entire platform is open source and fully self-hostable with every feature included. The optional subscription at stakedevtool.com sells hosting on our infrastructure — nothing else.

Highlights

  • Drop-in RGS — a fast Rust server speaking the Stake Engine wallet contract, straight from your simulation output (index.json, lookup tables, zstd books).
  • Multi-resolution test view — run your game side-by-side at 7 built-in resolutions plus custom sizes, each frame its own session, with a live SSE event stream and bet history.
  • Force, replay, bookmark — pin any (mode, eventId), replay a saved outcome, bookmark notable rounds (auto-picked min / avg / max per mode).
  • Math revisions — immutable snapshots with content-addressed dedup and an automatic changelog per push (RTP per mode, max win, modes changed).
  • sdt CLI for CI — math comes from simulations, so the real workflow is CI pushing a revision: sdt push ./math/my-game.
  • Team sync — profiles, saved rounds and bookmarks flow through the workspace live; replays reference (revision, mode, eventId), so a math push never breaks a bookmark.
  • Zero-friction HTTPS — a bundled local CA on desktop, wildcard TLS in the cloud. No browser warnings, no game-code hacks.

Quick start

Cloud (zero install). Create an account at app.stakedevtool.com and invite your team.

Desktop. Download the latest build for Windows, macOS (Apple Silicon) or Linux from the Releases page, then follow the getting started guide.

Self-host. One Linux box, Docker, Postgres and Caddy — the same stack we run in production:

git clone https://github.com/Stake-Dev-Tool/stake-dev-tool.git && cd stake-dev-tool/deploy
cp .env.prod.example .env.prod && $EDITOR .env.prod
docker compose -f docker-compose.prod.yml --env-file .env.prod up -d --build

Full walkthrough (DNS, TLS, backups, updates) in deploy/README.md.

Documentation

Guide What's inside
Getting started Install, first run, math folder layout, macOS notes
Architecture & HTTP API How it fits together, RGS endpoints, standalone LGS
Self-hosting Production deploy: DNS, TLS, backups, updates
sdt CLI Push math revisions from CI
Server development Cloud server config, local dev, integration tests
V2 design doc Architecture decisions and roadmap
Changelog What changed in each release

Contributing

Bug reports, feature ideas and pull requests are all welcome — start with CONTRIBUTING.md for the dev setup, project layout and PR process. Found a security issue? See SECURITY.md instead.

License

One repository, three licensing zones:

Path License
Everything not listed below — desktop app, lgs engine, CLI, protocol, test-view UI, deploy configs MIT — LICENSE
crates/server/, web/ (the cloud server + its dashboard) AGPL-3.0 — crates/server/LICENSE
Stake-Dev-Tool/site (the stakedevtool.com marketing site, separate repo) Source-visible, all rights reserved

Self-hosting the server is free forever and untouched by the AGPL — the licence only requires anyone offering a modified server as a hosted service to publish their changes.


Built by @simnJS and @Malasuerte94 · stakedevtool.com · Report a bug

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

17 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages