ZKasino Documentation
WebsitedAppTwitterTelegram
  • Welcome
  • Tokenomics
  • ZKasino Bridge
  • ZKasino Chain Testnet
  • ZKasino
    • Roadmap and FAQ
    • Responsible Gaming
    • Live Support
    • IPFS hosting
    • Mainnet Guide
    • Official Links
  • Platform
    • Glossary
    • Betting
    • Chains and Bet tokens
    • Self Exclusion
  • Developer
    • Contract addresses
    • Audits
    • Infrastructure
    • VRF Oracle
    • Architecture
    • Metaplay
    • Probability, Odds and House Edge
      • Dice
      • Plinko
      • Video Poker
      • Slots
      • Mines
      • Rock Paper Scissors
      • Coin Flip
    • Kelly-based bankroll management
    • Changelog
      • Game contracts v2.1
      • Game contracts v2.0
      • Contracts v1.0
      • Integrated VRFs (old)
      • Testnet Guide (outdated)
    • Testing
      • BNB Chain private fee testing
      • v2.1 private testnet WIP
      • v2.0 public testnet
      • v2.0 private testnet
      • multi-chain private mainnet with VRF
      • v1.1 public testnet
      • multi-chain private testnet with VRF
      • v1.0 public testnet
      • wip v1.0 private testnet
      • v2.1 public testnet
Powered by GitBook
On this page
  • Placing wager
  • Metaplay
  • Max wager with Kelly
  • Multi-betting
  • Stop Gain and Stop Loss
  • Pending VRF Requests
  1. Platform

Betting

PreviousGlossaryNextChains and Bet tokens

Last updated 1 year ago

Placing wager

The player needs to place a wager (bet amount) before being able to play a game. Bets are placed in through connecting a Web3-wallet. There are no sign-ups required nor deposits or withdrawals. Web3-wallets interact directly with the game contracts: wagers are sent through the game contracts and payouts are received from the bankroll. See the for more information.

Metaplay

is a different way of betting besides regular play. With Metaplay, wallet pop ups are gone and fees are paid with the bet token players are using. This brings the UX closer to Web2 online casinos. The player only needs to setup Metaplay through two transactions and can enjoy seamless betting.

Max wager with Kelly

The maximum wager a player can place is capped by the , a famous formula to determine the optimal bet size. The formula is used to calculate the Kelly fraction and takes game's probabilities and multipliers into account. With the Kelly fraction and the bankroll value, we can calculate the perfect Kelly Bet.

The Kelly Bet is the maximum wager a player can place on a game. This allows us to automatically tweak maximum wagers to prevent the bankroll from going bust. For more information on how Kelly is used, read the page.

Multi-betting

VRFs allow us to add multi-betting. In one transaction a player can buy multiple bets (currently up to 100 multi-bets on all games). The game contract will request the same amount of bets as random values in one RNG request from the VRF (see ). The player saves transaction fees and time, since only one wallet confirmation is required. Go to the section for more information on VRFs.

Stop Gain and Stop Loss

The player can add a stop gain, stop loss or both to their multi-bet. The game will end when a stop limit has been reached. The player will only pay for the amount of games that have been played up to and including the game in which the stop was reached.

For example: a player buys 10 bets with wager 10 and adds a stop gain of 20. After 4 games the player has 20 profit. The betting will stop since the stop gain of 20 has been reached. The player only pays for 4 games, the leftover 6 games will not be played.

Pending VRF Requests

On their profile page a player can find "Pending VRF Requests". On very rare occasions the VRF request does not get resolved and the player's wager will be stuck in the game contract. After 100 blocks the player can click "Refund" to remove their wager from the game contract. More information in and on the .

bet tokens
Architecture page
Metaplay
Kelly Criterion
Kelly-based risk management
Chainlink's documentation
VRF
VRFs
Architecture page