Skip to content
CHAIN SDK

Chain.wtf SDK Docs

Docs for building iframe games compatible with Chain protocol and that run inside the Chain.wtf host application.

SDKs

  • Casino SDK — single-player games where the player wagers against house liquidity.
  • PvP SDK — multiplayer games where players wager against each other into a shared pot.

Download the SDKs

The guides reference each SDK's file layout (src/, solidity/, examples/, package.json). Grab a self-contained copy — everything except node_modules and build output — and start building outside this repo.

↓ Download Casino SDK (.zip) ↓ Download PvP SDK (.zip)

Package Entrypoints

  • @chain/casino-sdk, @chain/casino-sdk/guest, @chain/casino-sdk/host
  • @chain/pvp-sdk, @chain/pvp-sdk/guest, @chain/pvp-sdk/host