Skip to content

A prediction market smart contract (Solidity) with a React frontend.

Notifications You must be signed in to change notification settings

KenMan79/consensys-academy-prediction-market

 
 

Repository files navigation

consensys academy: prediction market project

screenshot

how to run

  1. Install dependencies:
$ yarn
  1. Run testrpc/geth/parity

  2. Deploy contracts:

$ truffle migrate --network dev --reset
  1. Build frontend:
$ webpack
  1. Serve frontend:
$ cd build && python -m SimpleHTTPServer

You can view the app at http://localhost:8000.

running tests

$ truffle test --network dev

Unfortunately, the tests currently give all sorts of weird errors in geth, probably related either to nondeterministic block mining.

About

A prediction market smart contract (Solidity) with a React frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.3%
  • Other 1.7%