gavinzheng / dapp-stackexchange-bounty

An incentive mechanism to make StackExchange sites flourish

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StackExchange Bounty ÐApp

The StackExchange ÐApp is composed of an Angular 2 (CSS/HTML/TypeScript) front-end and the StackExchangeBounty.sol, an Ethereum smart contract written in solidity.

The StackExchange Bounty ÐApp enables users to set bounties on StackExchange questions. Oraclize will then query StackExchange API sonce a day and update the contract data. When the question creator selects an answer as correct, the contract will pay the bounty to the owner of the selected answer (called winner in the contract code).

The bounty can be send only if the winner has an Ethereum address in the location field of his StackExchange subsite profile. If no address is found, Oraclize will keep querying for an address once a day until the question's expiration date. After that date, if there is no selected answer nor a destination address, the bounty or bounties will be returned to their respective owners.

About

An incentive mechanism to make StackExchange sites flourish

License:MIT License


Languages

Language:JavaScript 80.5%Language:TypeScript 16.5%Language:HTML 2.2%Language:CSS 0.9%