https://github.com/provable-things/dapp-stackexchange-bounty
An incentive mechanism to make StackExchange sites flourish
https://github.com/provable-things/dapp-stackexchange-bounty
Last synced: 3 months ago
JSON representation
An incentive mechanism to make StackExchange sites flourish
- Host: GitHub
- URL: https://github.com/provable-things/dapp-stackexchange-bounty
- Owner: provable-things
- License: mit
- Created: 2016-02-22T19:16:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-14T13:32:34.000Z (almost 10 years ago)
- Last Synced: 2025-10-26T22:35:56.912Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 921 KB
- Stars: 21
- Watchers: 7
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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.