<100 subscribers
This week, we didn’t just roll the dice—we shipped it. DiceGame is live, and it’s the second fully working, on-chain BetSwirl game component we’ve added to the SDK.
We got backup: a core dev from BetSwirl joined the party and walked us through how to structure React hooks for cleaner, custom UI integration. Hooks, providers, separation of concerns—it clicked. Expect a blog post or recipe guide soon, especially for those building skins and extensions.
We added a bunch of new backgrounds—ranging from tasteful to completely chaotic—and started putting Playwright + Synpress to work for proper E2E tests. It’s no longer just a weekend project; we’re locking in real infra.
Pick a number from 1 to 99 and bet that the dice will roll under it. Pick 20? You’ve got a 20% chance of winning ~5x. Pick 80? You’ve got an 80% chance of winning ~1.25x. Classic high risk vs low risk.
DiceGame follows the same architecture as CoinToss. Same GameFrame, same theming system, same usePlaceBet
logic behind the scenes. Swapping games is as simple as changing one component name. Yes, you can render both in the same app.
We’ve seen interest from memecoin communities, token projects, and even DeFi dashboards. The use case is always the same: plug in a game, give users something fun to do, and earn a revenue share without building a casino from scratch.
Each game call is fully on-chain, randomness is handled by Chainlink VRF, and users can verify every outcome.
Storybook hosts both games with full theme toggles and wallet integration. Want to test them? Go for it. The SDK is nearly package-ready—we're preparing the npm release and polishing the final DX.
📦 npm packaging + docs
💱 Token selector (currently only ETH)
Next games: Roulette + Keno
Farcaster frame experiments
We’re still early, but getting more confident with each release. Curious what the web will do with on-chain games this easy to drop in.
Try the games: Storybook link
Want to build with us? Ping us anytime:
Twitter: https://x.com/ChainHackerClan
Farcaster: https://farcaster.xyz/chainhacker
ChainHacker