Skip to content

A blockchain-based coinflip game that lets users bet Ethereum tokens via MetaMask. This simple, user-friendly app allows players to double their stake on a coin toss, enhancing Ethereum blockchain engagement. Includes a simulated 10 ETH free balance for testing.

Notifications You must be signed in to change notification settings

ftcin664/CryptoFlip

Repository files navigation

CryptoFlip

Overview

This project features a blockchain-based coinflip game where users can connect their MetaMask wallets to bet Ethereum tokens. Participants have the chance to double their stake based on the outcome of a coin toss. The application is designed to provide a straightforward and user-friendly experience, enabling users to interact with decentralized technology on the Ethereum blockchain without needing extensive prior knowledge.

Features

  • Blockchain Integration:

Users can connect their wallets via the Ethereum testnet environment.

  • Gameplay Mechanics:

After connecting their wallet, users can choose the amount of Ethereum tokens (ETH) to bet and select either heads or tails for the coinflip.

  • Winnings Calculation:

If the coin lands on the user’s chosen side, their stake is doubled and returned to their wallet. If not, the stake is forfeited.

  • Responsive UI/UX:

The game features a clean, modern interface that ensures usability across various devices and screen sizes.

  • Testing and Validation:

The platform has been rigorously tested to ensure functionality and reliability, with all interactions being verifiable on blockchain explorers like Etherscan.

Technologies Used

  • Frontend :

React.js with TypeScript for robust and scalable application development.

  • Styling:

Material-UI (MUI) for modern, responsive designs and user interface components.

  • Blockchain:

Ethereum smart contracts, facilitated through interactions on the Ethereum testnet.

  • Hosting:

The application is deployed on Vercel, ensuring high availability and low latency.

  • Wallet Connection:

MetaMask integration for Ethereum, allowing users to securely connect their wallets and interact with the game.

About

A blockchain-based coinflip game that lets users bet Ethereum tokens via MetaMask. This simple, user-friendly app allows players to double their stake on a coin toss, enhancing Ethereum blockchain engagement. Includes a simulated 10 ETH free balance for testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published