Git Product home page Git Product logo

hotornot's Introduction

HOT or NOT

An Ethereum based decentralised application where a particular issue or idea gets promoted globally. Proposers pay (with dynamic value 'charges' to initiate proposals), voters get paid (with dynamic value 'reward' to usher in voters).

A DApp where a user can add any issue or propose some idea/view in the form of text or small sized images which will be stored on the blockchain network (forever)! People can react to the proposals or issues by upvoting or downvoting it. This platform can be used to arrange elections in which we can upvote our favourite view or idea. The ideas or proposal getting more votes will be trending or appearing at top respectively.

Motivation

  • Free and fair elections where the leader pays and you get paid!
  • Raising public issues without government intervention or censor!
  • Advertising yourself and/or your ideas.

Screenshots

alt text alt text alt text

Languages Used

Built With

Deployment

You may use Metamask or testrpc (or Mist browser) to deploy a test network. Using testrpc provides a quick way to play with 10 test accounts with 100 ethers each.

Cards.sol is the smart-contract. It is compiled with the solc compiler.

The sol is linked with the javascript using the web3.js library. Run node connect.js and replace the abi and contract address in main.js.

Open index.html in your browser.

Change web3.eth.accounts[0] to web3.eth.accounts[1] in main.js to interact as a different user. (You have 10 test users).

hotornot's People

Contributors

jarvisdev avatar shivam-mnnit avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

shivam-mnnit

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.