Demonstration of a decentralized application on the ethereum blockchain.
It is a simple dapp where you can place a bet on a coin flip. A metamask wallet is needed to interact with the flipcoin dapp.
Smart contract features:
- storing information about the current game and balances of the player
- pseudo-random numbers to determine the head-tail flip
- random numbers using an oracle
- possibility to withdraw winnings