Games

Games are initiated by players, typically through a frontend app.

The COTIPlay on-chain program validates each game to ensure fair play. A secure random number is then generated to determine the outcome - whether the player wins or the result favors the liquidity pool.

Structure

The key components that make up a game are the following:

  • The pool (and its underlying token) used for the game.

  • The amount of tokens that the player will pay to start the game.

  • A cryptographic hash (SHA-256) supplied by COTI Onchain Random

Last updated