About this Decentralized Application


50/50 Coin Flip is a serverless Decentralized Application running on top of the Ethereum Network, built using web3.js and Morlas.io. This casino-style DApp allows users to place a bet to double their money with 50/50 odds. The smart contract was written with a best-of-practice CHECK-EFFECTS-INTERACTIONS pattern to minimize potential exploitations. The contract will not accept a bet unless there are enough funds within the contract to cover it. The smart contract was re-written to operate with the current solidity pragma. With powerful tools like Moralis, it was no problem getting this Dapp up and running in minimal time. Complete with powerful features that allow the developer to get user's historical transactions and aggregate data to display helpful information like leader boards, win stats, and any other valuable details Dapp users may find relevant. This project was completed for fun and deployed to the ropsten test net, and no further development will be committed to this MVP. Using Moralis, it was easy to implement decentralized trading features via the 1inch protocol. This functionality is only possible on the mainnet, and the function has been left in as a placeholder to illustrate the capabilities of building serverless Decentralized Applications.

Special thanks to Ivan On Tech, Filip Martinsson , and the Moralis and IvanOnTech Academy forums; they are always a tremendous resource and much appreciated.

Mikal Muhammad
Lynne House Publishing Inc.