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 posses a three-symbol gameplay mechanism, uses a hybrid process for random number generation, and, on top of that, it integrates a reward-based referral system. The game operates without the user paying for the gas fees. This enhances the user experience on the game and could be replicated in all games deployed in 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 could either match two or three symbols for different size tiers
A fair play is guaranteed since the return rate is 95%
Start betting with as little as 10 COQ up to 100 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, as the upcoming games in Dremes, have been built to provide a smooth and enjoyable experience while playing it. 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:
Initial Setup
One-time wallet signature to authorize game interactions
No recurring signature requests while playing the game
Credit System
Purchase game credits using COQ tokens
Tokens are securely kept in the smart contract
Your credit balance is visible all the time
Smooth
Backend acts as the trusted transaction relay
Players triggers spins without wallet prompts
Backend handles all transaction costs and execution
All game outcomes are recorded on the blockchain. Tue full transaction history and logs are available for verification.
Only two moments require the player to sign a transaction in the Blockchain:
Depositing Funds
WIthdrawing Rewards
Hybrid random number
Coq Pot Bonanza employs a hybrid random number generation system that combines off-chain and on-chain computation:
Initial Randomness Source
Secure random numbers are generated off-chain using cryptographic libraries
The numbers are computed by a trusted backend service
At every spin, new random numbers are provided and send to the smart contract
On-Chain Processing
Each random numbers is scrambled again within the contract
By using Solidity keccak256 hashing functions, the random number is combined with other inputs
This creates a non-deterministic random number with high entropy
Determining the prize
The random numbers help to determine the amount of matches betwen figures
Each final number maps to one of the three game symbols
The higher the amount of matches, the bigger the prize
The rarer the symbol, the more potential to win
Thes two-layer approach provides strong and secure random numbers. Due to the entropy sourced from the backend, there is a gain in 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. At due time we'll keep enhacing our game.
Last updated