Coq Pot Bonanza

The gas-free slot machine (Coqnet’s flagship product) on Coqnet made to promote COQ.

Overview

CoqPot Bonanza is a decentralized slot machine implementation deployed on Coqnet. It possess a three-symbol gameplay mechanism, uses a hybrid process for random number generation and integrates a reward-based referral system. The game operates without the user paying for the gas fees. This enhances the user experience and could be replicated across all games deployed on Coqnet.

Winning Potential

  • By hitting the jackpot the user's bet is multiplied by 25 for the most rare combination.

  • To win a prize, a user can match two or three symbols, corresponding to different prize tiers.

  • Fair play is guaranteed, with a return rate of 94.17%.

  • Start betting with as little as 1M COQ up to 100M COQ per spin.

Reward-based referral system

  • Earn 1% of your friends' bets whenever they spin!

  • All rewards are automatically credited to your balance after the referred makes a spin

  • Cash out your winnings from the game or rewards at any time

Special Features

Gasless transactions

The Coq Pot Bonanza game, along with upcoming games in Dremes, has been built to provide a smooth and enjoyable experience. That implies removing any friction between the user and the game such as constant wallet pop ups or transaction fees. Here's how Coq Pot Bonanza has solved it:

  1. Initial Setup

    1. One-time wallet signature to authorize game interactions

    2. No recurring signature requests while playing the game

  2. Credit System

    1. Purchase game credits using COQ tokens

    2. Tokens are securely kept in the smart contract

    3. Your credit balance is visible all the time

  3. Smooth

    1. Backend acts as the trusted transaction relay

    2. Players trigger spins without wallet prompts.

    3. Backend handles all transaction costs and execution

All game outcomes are recorded on the blockchain. True full transaction history and logs are available for verification.

Only two moments require the player to sign a transaction in the Blockchain:

  1. Depositing Funds

  2. Withdrawing Rewards

Hybrid random number

Coq Pot Bonanza employs a hybrid random number generation system that combines off-chain and on-chain computation:

  1. Initial Randomness Source

    1. Secure random numbers are generated off-chain using cryptographic libraries

    2. The numbers are computed by a trusted backend service

    3. At every spin, new random numbers are provided and sent to the smart contract

  2. On-Chain Processing

    1. Each random number is scrambled again within the contract.

    2. By using Solidity keccak256 hashing functions, the random number is combined with other inputs

    3. This creates a non-deterministic random number with high entropy

  3. Determining the prize

    1. The random numbers help determine the number of matching symbols.

    2. Each final number maps to one of the three game symbols.

    3. The higher the amount of matches, the bigger the prize.

    4. The rarer the symbol, the more potential to win.

This two-layer approach provides strong and secure random numbers. The entropy sourced from the backend enhances unpredictability.

Our current system is secure and provides a fair gameplay. Since we are always looking to improve, we are looking forward to VRF (Verified Random Function) by Chainlink and the precompile random number generator smart contract. In due time, we'll continue enhancing our game.

Last updated