DAO.Casino has announced the release of an MVP for its Blockchain-based gambling protocol with all basic features and several games. The protocol enables cooperation between trustless parties on the gambling market like game developers, casino operators, players and referrals.
The solution prototype offers all transactions between stakeholders to be given effect through the protocol’s token, BET, which is a standard ERC20 token that will be distributed during their forthcoming crowdsale campaign, scheduled to kick off on June 29, 2017.
Unlike traditional peers, DAO.Casino protocol offers transparency via complete openness of the source code and a P2P market that enables cooperation between the developing team and the community. It implies that the community may manage the games and raise funds for the bankroll.
The company also claims that with the introduction of this protocol, neither party has an edge over any other and the system automatically rewards all of them. Major payouts are said to be attainable due to the fact that decentralized casinos exclude manipulations and forgery inherent in traditional online casinos.
Additionally, DAO.Casino has rolled out an extended referral system that features registered user stats, referral links and the amount of BET one has received.
Currently, the prototype offers three games: traditional dice, Hack a DAO and Blackjack beta version. The system offers interaction with the project’s test version of native token, however, it only operates on the Ethereum testnet. Playing the games requires registering at the project’s website.
Built-in wallet, signidice algorithm, referral system
The many MVP features include the built-in wallet with a bankroll backing feature of which the account is rewarded with BET for taking part in PRNG using the signidice algorithm. The source code for the wallet is available at GitHub. Signidice algorithm allows the player to receive game results much faster than the new block would be mined - specifically one to three seconds. The referral system keeps track of the registered users.
The game revenue is distributed according to how active the players brought by the referrals are. The referral system is integrated with Google Analytics so that the referrer can establish where the traffic comes from. Optionally, the referrer can connect their wallet with their Google account. The protocol is available for all three major operating systems, that is Windows, macOS and Linux.
Kellas, the coder of DAO.Casino desktop app, says:
“Electron is used in Ethereum wallet, and is available throughout all platforms, including Windows, MAC OS, and Linux.”
- Figure 1. Send and receive BET/Ether, export private key, GET FREE BET from the faucet (ropsten testnet)
- Figure 2. Bankroll backer interface 1. Link to the game. 2. Link to the contract on Etherscan. 3. Current contract balance (in BET) 4. Net profit from the moment the contract was deployed. 5. Latest games. 6. Create another bankroll (using Factory)
The wallet interface
As an engine for authorization and transactions, they use lighwallet.js combined with infura.io as a backend. This allows users to play without installing any specialized dependencies, such as metamask, and without the need to download the entire Ethereum Blockchain to the player’s machine. However, it is still possible to access the system from full Ethereum clients.
- Figure 3. Registration using a mnemonic phrase (brain wallet)
After the registration, the user receives 1 BET and 1 Ether from the faucet. This is implemented on testnet for test purposes.
Bankroll backer app
Dice is a game developed in-house by the DAO.Casino team that supports all the roles and functionalities of the system. After the registration, creating a wallet can be restored using a mnemonic (see fig.3). After that, the player can access a classic Dice game. If at least one bankroll backer is connected to the network, the player can start a game. The signidice algorithm allows the player to receive game results much faster than the new block would be mined.
- Figure 4. 1. User account balance. 2. Number of bankroll backers available on the network. 3. Game status. 4. Bankroll balance 5. Risk (the higher the risk, the higher the possible win). 6. Game start. 7. Link to the current game contract on Etherscan. 8. Bankroll backer’s address. 9. Game list
Davy42, Dice developer, explains:
“The "approve" function allows the contract to take a small number of tokens from the player's balance. This is done in order not to cause the function to "approve" each time.”
The extended referral system includes data about registered users, their referral links and the amount of BET that they have received. BET arrives at their balance immediately after each game without delays.
“I worked in cash-per-action networks as a webmaster, and I'm sure that detailed statistics are very necessary. In DAO.Casino we give the most detailed traffic reports using Google Analytics.”
Casino operators can customize their frontend platform according to their neds. It is possible to integrate ShapeShift if required. Together with Airalab, their team has implemented contracts that are fully integrated with the Dice game. Their team has four full-time coders (Solidity and JS) and two teams specialized in Blockchain technology as partners. Full documentation for developers will be published on June 26.
Disclaimer. Cointelegraph does not endorse any content or product on this page. While we aim at providing you all important information that we could obtain, readers should do their own research before taking any actions related to the company and carry full responsibility for their decisions, nor this article can be considered as an investment advice.
Follow us on Facebook