π§©modules β verifiable building blocks for game devs
Small, open libraries that give a game the one thing a blockchain uniquely offers: cheap, public, un-riggable randomness and timestamped proof β plus the everyday parts (identity, chat, payments) done wallet-optional. Use one, or copy a single file. Part of chainkit.
π§© ten live on npm Β· Apache-2.0 Β· verifiable, not trusted
π§© The stack β live on npm10
Each carved out of real games, proven, and live on npm with build provenance β npm i @metanet-games/<name>. Apache-2.0; click any module for install + a worked example.
@metanet-games/
Verifiable deterministic randomness from a Bitcoin block hash β the base primitive.
zero deps
@metanet-games/
Placed blocks become a contiguous, deterministic 2-D biome map. No server.
needs chainseed
@metanet-games/
Provably-fair loot bound to a future block β nobody can rig it, anyone can verify.
needs chainseed
@metanet-games/
Portable, wallet-optional identity β anonymous by default, with a name + identicon.
zero deps
@metanet-games/
Real-time chat with dynamic channels and presence, over any transport.
needs chaintag
@metanet-games/
A block-driven world tick β one shared clock nobody controls.
zero deps
@metanet-games/
Deterministic shared weather β the same storm for every player, un-riggable.
chainseed + chainclock
@metanet-games/
A drop-in micropayment paywall + tip rail. Never auto-charges; paid always grants.
zero deps
@metanet-games/
Leaderboards you can trust β ranked, best-per-player, with a verifier seam for un-forgeable scores.
needs chaintag
@metanet-games/
Inventory β local for a wallet-less player, real on-chain items (1Sat) when they connect.
zero deps
π On the roadmap3
Designed, not built yet β the next primitives that exploit shared randomness and timestamped commitment.
@metanet-games/
replayproof
Un-forgeable leaderboards: commit the input replay, prove the run and its timing.
planned
@metanet-games/
fogproof
Trustless hidden information β battleship, poker, fog-of-war β via commit-reveal.
planned
@metanet-games/
spvsync
SPV-verified P2P netcode: validate moves against anchored proofs, no server.
planned
These are the pieces, not the kit β take only what you need. Building something similar, or want one sooner? Tell us.