Incent open source contributions using ETH.
Zhe Li d79c321ad0 Fix url input un-necessary toString call. 7 months ago
Token Fix typo. 7 months ago
dist Input url for issue to fix into contract. 7 months ago
src Fix url input un-necessary toString call. 7 months ago
.gitignore Baseline. 7 months ago
README.md More verbose instruction. 7 months ago
betOnTheFix.png Pic for result so far. 7 months ago
index.html Baseline. 7 months ago
package-lock.json Update npm package file after npm update. 7 months ago
package.json Update npm package file after npm update. 7 months ago
webpack.config.js Adjustments and webpack component. 7 months ago

README.md

picture alt

bit about me A fullstack developer who's a noob to blockchain, React.js etc. Just getting started.

Purpose

Inspire coders to work on issues by making bet against themselves while others can also bet for or against the completion of the task under a set timer. I.e., if user A thinks she can fix an issue in 1 hour and willing to bet 0.1 ETH on that, and user B thinks she can not, and willing to bet 0.1 ETH against that, the end result is someone's getting more than they put down. (Unless there's nobody betting but one person which is still pretty motivating IMHO).

WIP

Done

  • Use Remix and Solidity to create and deploy a smart contract.
  • Use React.js, npm, webpack to start local dev environment.
  • Connect frontend components to interact with the smart contract (see picture above).

To Do

  • Implement time limit so user can set it for the bet on the fix.
  • Implement betting for or against the completion of the stated fix in the set time.
  • Implement prize distribution.
  • How to verify the completion of the task.

Setup to run locally

  • Point your MetaMask to Ropsten Test Net.
  • Git clone this repo.
  • Step into repo directory where there's a package.json file.
  • npm install
  • npm i -g http-server
  • cp dist/build.js .
  • /YOUR_NODE_PATH/http-server
  • Point your MetaMask-ed bowser to the serviced url.