Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Latest commit

 

History

History
53 lines (34 loc) · 1.33 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.33 KB

Tokenless Prediction Market

A tokenless prediction prediction.

Live Testnet Version

https://tokenless-32142.firebaseapp.com/

Development

Download sources: git clone [email protected]:OpenZeppelin/tokenless.git

Install packages: npm install

Run custom testrpc: npm run rpc 0 (you may replace the 0 for any other block mining time) This script is handy for quickly restarting the testrpc and re-deploying the contract, always with the same address, at the same time.

Start UI server: npm start

Run Solidity Tests: truffle test

solidity tests

Deploy: npm run deploy

Stop custom testrpc: npm run killrpc

More:

create-react-app

Configuration

See: constants.js

DEBUG_MODE, USE_INJECTED_WEB3, TARGET_LIVE_NETWORK, etc...

Bootstrap / Setup

This project is built on top trufle-box/react-auth-box, which uses create-react-app with React, Redux and Router.

The Ethereum/Solidity bootstrap is handled by truffle and the solidity code is build with OpenZeppelin.

See truffle-box for details on project bootstrap and configuration.