Giter Club home page Giter Club logo

-og-afwerken's Introduction

Crypto Roulette

Checklist

  • Implement contract pooling
  • Implement color betting with blockhash-based random
  • Implement tests for liquidity and bets
  • Deploy v0.1 in eth testnet
  • Implement v0.2: Implement all bets
  • Implement UI for providing liquidity and bets
  • Implement v0.3: Implement Chainlink VRF
  • Update UI to wait for VRF callback
  • Implement v0.4: Implement liquidity and max bet limits
  • Implement v0.5: Implement Chainlink VRF + bet queue
  • Deploy v1.0b into Matic or BSC testnet
  • Investigate implementations with BSC and Polkadot BABE VRF
  • Deploy v1.0stable into Matic or BSC mainnet

Running the project

  1. Run make install for installing node dependencies
  2. Run make run for running the ganache server
  3. Run make test for checking everything is ok

You can run the GUI instead of doing make run, just make sure that ganache server is on port 8545

Additional commands:

`make compile` compiles the contracts
`make migrate` migrates the contracts into the ganache blockchain
`make console` lauch a truffle console in the gananche node
`make test` run tests
`make deploy-ropsten` deploys the contract to the ropsten network

.env file

Difine an .env for deployments on Ropsten and the main network

ROPSTEN_MNEMONIC='Your mnemonic'
ROPSTEN_API='You api url + key'

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.