Skip to content

Instantly share code, notes, and snippets.

@leroldary
Created October 10, 2021 11:16
Show Gist options
  • Save leroldary/b43bf335455c5cc433403478206efb17 to your computer and use it in GitHub Desktop.
Save leroldary/b43bf335455c5cc433403478206efb17 to your computer and use it in GitHub Desktop.
medium
# About Dicether
![Dicether banner](banner.svg)
## What is Dicether
[Dicether](https://dicether.com) is a state-channel based casino that uses ETH cryptocurrency. We started development of
Dicether 2016. On Ethereum mainnet we are live since April 2018. You can play Dice, CoinFlip, Keno, Wheel and other games.
## Dicether vs other Casinos
### Traditional Crypto Casinos
On traditional crypto casinos before you can start betting you need to deposit to the crypto casino wallet.
Once deposited you need to fully trust the casino. You can't force them to send you deposited money back or payout your
winnings.
For verification of the bets most casinos use some kind of a provably fair scheme, where a user can verify if the
bet result is valid. But the bets are stored centrally on the casino and the bets are not signed, so the casino
could create fake bets or manipulate the placed bets and the user could not prove it.
### Ethereum Smart Contract Based Casinos
If done right, the main disadvantage doing everything on chain are the high gas fees.
With one bet currently costing more than 30$ per transaction fees only very high bets are reasonable.
Additionally most smart contract use other parties for the random number generation. E.g at Etheroll
the user needs to trust [RANDOM.org](https://www.random.org/) and [Oraclize](https://oraclize.com)
### Dicether
Dicether is using state-channels to provide high security and fast and cheap gambling experience.
* Low gas feeds: Only one transaction is needed for up to 1000 bets.
* Fully transparent: Everything but the backend code is open source. Dicether can not hold back winnings. Dicether can
not tamper bets
* Fast: bet results are instant available
# Account
## Signup
To signup no details like password or email are required. You only need to have an Ethereum wallet.
We support every wallet as long it fully supports [EIP-712](https://eips.ethereum.org/EIPS/eip-712).
### Pc
On Pc we recommend [Metamask](https://metamask.io/).
### Mobile
For mobile betting we recommend [Trust-Wallet](https://trustwallet.com/) or [Metamask-Mobile](https://metamask.io/).
Coinbase-Wallet and Status-Wallet are supported too.
## Playing at Dicether
Below is complete walk-through video showing you how you can start playing at Dicether.
# Fees
For all games at Dicether the fees are 1.5%.
# Affiliate system
Refer our brand and earn money through participating in Dicether’s Affiliate Program!
You will receive an affiliate commission for every user that registers and plays on Dicether through your links.
Standard Affiliate commission is 10% on the house edge.
E.g. If your referee wagers 100 ETH, house edge (1.5%) on that is 1.5 ETH.
When you calculate the affiliate commission (10%) on that, that means you will receive 0.15 ETH as your commission.
There is an option to increase the Affiliate commission rate if you become a valuable ambassador of Dicether
and invite a lot of people to join us. Then you can contact us an we will give further instructions.
## How to create a campaign?
Before proceeding, make sure you are signed in.
* Step 1: Press the button "Account" in the top right corner
![Account](./affiliate_account.png)
* Step 2: Select the Tab "Affiliate"
![Affiliate](./affiliate_affiliate.png)
* Step 3: Choose a name for your campaign and the campaign code (that will show in your affiliate url) and press the "Add Campaign" button
![Create campaign](./affiliate_create.png)
* Step 4: Click the blue arrow to copy the url
![Campaign](./affiliate_campaign.png)
When you scroll down, you will see all your active campaigns, and each campaign will contain the following information:
* Campaign name - selected name
* Campaign URL - referral link
* Hits - this shows how many times your URL was opened
* Registrations - this is the number users you have clicked you referral link and than registered at Dicether
* Profit - Profit for this campaign
* Commission - Affiliate commission
# Technical Details & Security
An detailed description why Dicether is secure and provably fair is available in our
[Whitepaper](https://dicether.github.io/paper/paper.pdf).
## Open source
Our contract and the front-end and many libraries are open source and available at [github](https://github.com/dicether).
The contract is verified at [etherscan](https://etherscan.io/address/0xaEc1F783B29Aab2727d7C374Aa55483fe299feFa#code)
## Backend Api
The documentation of the backend api is available at https://api.dicether.com/apidocs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment