Git Product home page Git Product logo

casinocoin's Introduction

CasinoCoin

A simple decentralized Ethereum betting application built for educational purposes on the Rinkeby Network.

How it Works

  1. Allows users to bet test Ether on a number from one to 10.
  2. After 10 bets have been placed, the smart contract randomly selectes a winning number and deposits the balance of the contract into the winner(s) account(s). The terms of the contract are then reset.
  3. If no winners have been selected, the balance carries over into drawing (similar to the lottery).

Get Started

  1. Clone the project. git clone https://github.com/zmess24/CasinoCoin.git.
  2. Run the setup script. npm run install
  3. Run the example app. npm run dev

Initial Machine Setup

  1. Install Node 8.0.0 or greater. Need to run multiple versions of Node? Use nvm.
  2. Install Git.

Technologies

CasinoCoin is build using the following technologies:

Tech Description
React Fast, composable client-side components.
Next Minimalistic framework for server-rendered React applications.
Semantic UI React Development framework that helps create beautiful, responsive layouts using human-friendly HTML.
Solc JavaScript bindings for the Solidity compiler.
Ganache CLI Command line version of Ganache, your personal blockchain for Ethereum development.
Web3 API that allows you to interact with a local or remote ethereum node, using a HTTP or IPC connection.
Truffle Hdwallet Provider HD Wallet-enabled Web3 provider. Use it to sign transactions for addresses derived from a 12-word mnemonic.
Mocha Feature-rich and asynchronous JavaScript test framework running on Node.js and in the browser

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.