Stelo Finance, the leading finance platform of BitCraft
- Store in-game assets or derivation of such in digital accounts
- Transact with any other player, anytime, no matter where in-game they are (if they even are in-game)
- Build financial applications and tools on top!
For API documentation, see here
Domain logic lives in the SpacetimeDB module (spacetimedb/). The website is a stateless Rust Topcoat edge (src/) that talks to SpacetimeDB as the logged-in user.
- Use the Nix flake shell (
direnvornix develop) - Copy
.env.exampleto.envand fill BitAuth values - Run
task live
That starts local SpacetimeDB (data under tmp/spacetimedb), watches the module (rebuild / publish / regenerate src/module_bindings), and runs topcoat dev on port 8080. Topcoat’s default port is 3000, which collides with SpacetimeDB.
| Command | What |
|---|---|
task live |
Full stack |
task stdb |
SpacetimeDB only |
task stdb:dev |
Module watch only (needs STDB) |
task edge |
Topcoat only (needs STDB + published module) |
Wipe tmp/spacetimedb if snapshot or identity errors appear after a schema break.
Loaded from .env at the repo root (see .env.example).