Back to the Game

Instructions

Getting MetaMask

CryptoWheel requires the MetaMask Chrome extension to play. Once you've downloaded the extension, you will need to send some ETH to your new address in MetaMask. You can send ETH to your newly generated wallet using almost any other cryptocurrency application, like Coinbase or Gemini.

Getting Testnet Ether

CryptoWheel is deployed to a test network so you don't have to use real ether to spin. You need to use a website called a “faucet” that will send some Rinkeby test ETH into your account. Follow the instructions on the Rinkeby faucet website to get some.

Spin the Wheel

Once you have MetaMask enabled and you are logged into the Rinkeby network you are ready to spin! Select which number you think the wheel will land on and then click "Spin Wheel." Once you click, MetaMask will prompt you to send a transaction to the game. Simply hit submit and your spin will start loading; pending you have enough funds in your wallet. You have a 1 in 8 shot of taking home the pot!

Troubleshooting

If you experience any unexpected behavior on the game page, please try disabling and then re-enabling MetaMask before anything else. Sometimes the extension can exhibit strange behavior. If you send a transaction and the wheel doesn't happen to spin, don't worry! Your transaction still went through and you may have won. Just check the Transaction Details button to check.

How It Works

CryptoWheel is built as a DApp on the Ethereum blockchain. The smart contract that runs the game is open and handles all of the behind the scenes logic for the game. When a users sends a guess using MetaMask, that guess is sent to the contract and it is checked against a hash of the lastest block on the chain. Your guess is sent as a transaction to the smart contract, so this means it must be mined by miners in the network. This can cause a short wait, so expect the wheel to spin up to approx. one minute after you send the guess. If your guess happens to be the same number as the modulus of the hash, you WIN! and the contents of the pot are instantly paid directly to your wallet.

Currently, the price to play is 0.009 ETH. If you do not win, 0.008 ETH is added to the pot and 0.001 ETH is a fee that is used as a reserve to load the pot after it is emptied by a winning player. You can read the full smart contract in its entirety below.

The Contract