HoneyFlip
TLDR: HoneyFlip is a modified version of good old Coin Flip game.
Last updated
TLDR: HoneyFlip is a modified version of good old Coin Flip game.
Last updated
Player chooses a token, wager size, and number of bets from 1 to 69.
The cigarette is a custom range input field. Player can set the bet's multiplier by dragging the cig progress bar left and right, ranging from 1.45x to 100x. In other words, from 1% to 69% win chance. ERC-20 tokens need to be approved before the first bet.
Skip button allows skipping a single bet animation and moving to the next. Skip All skips all animations and shows total PnL.
Bet history block shows recent bets only. Refreshing the webpage clears it, but the player can check the full history by clicking the "View full history" button. Player can also replay a single animation by clicking the "Replay" button or replay all of them by clicking "Replay All".
My Wager stands for the amount of BERA you gonna pay for this bet, basically wager * bets.
Max Total Wager represents the biggest value of "My Wager" available to bet for the moment.
Max win payout stands for the maximum amount of money a player can win in a single transaction with current wager and bets amount.
The higher the multiplier, the lower the chances of winning. There is linear dependence between multiplier and winning chance:
Initially, honeyflip type games has 100% RTP by design so we have special 4% tax on prizes. 4% of all winnings in Honeyflip game stays in vaut and it sets total RTP of the game to 96%.
Junky Ursas take fixed 2% protocol fee from your total wager size.
Pyth Entropy oracle provides a secure and verifiable random value service on the blockchain.
Game receives a random number in bytes32 type. For each iteration (up to 69 bets), the game transforms bytes32 to uint256 and takes the remainder from division by 100. If the remainder is strictly less than the user's guess (win chance), the game adds multiplier*wager/bets to totalPayout. Then the game shifts the random number in bytes32 format to the right by 2 bits and repeats calculations for the next iteration.
Contract Address: berascan
Player max win is dynamic value and limited by 5% of current respective token vault size. It means there are different max wagers for different pairs of "amount of bets" and "multipliers"
This game classified as Player vs House. It means player places bets against Junky Ursas itself and its liquidity vaults.
TBU