# `@chain/pvp-sdk`

Bridge SDK and on-chain interface for building player-vs-player games that embed inside the
Chain.wtf host application as sandboxed iframes.

PvP games let players wager against each other into a shared pot. The protocol escrows buy-ins,
takes a fee, and asks your game contract how to split the distributable pot when the lobby resolves.

[↓ Download PvP SDK (.zip)](/sdk/pvp-sdk.zip)

## Start Here

* [Building PvP Games](/pvp/CHAIN_WTF_PVP_GAMES)
* [Contract Constraints](/pvp/PVP_CONTRACT_CONSTRAINTS)
* [Visual & UX](/pvp/VISUAL_AND_UX)
* [Changelog](/pvp/CHANGELOG)
