PoolTogether with Sports Event Prediction🏀⚾️⚽️🏈
Admin choose target league and 1 prediction target game
(=1 draw) in all of game every gameday.
(Draw is opened every gameday)
Participants predict and buy ticket for joining the sports event pool=the target game's pool
Participant need to buy a ticket of sports event prediction until the target gameday before (23:59 UTC).
What participant predict is the game score of target game.
The target gameday after, 1st selection. Only participants who prediction was hit are remaining.
Utilize Band-Protocol which is oracle for getting results of game score. https://developer.bandprotocol.com/datasets/sport-kovan.html
Then, 2nd selection is coming. Only 1 participant is selected as the winner in participants who are remaining by 1st selection
The logic of 2nd selection is as PoolTogether is.
Prizes awarded
Reward is distributed into the winner's address. Reward is generated by earned interest from the pool
Add MetaMask to browser (Chrome or FireFox or Opera or Brave) https://metamask.io/
Adjust appropriate newwork below
Kovan Test Network
(root directory)
$ npm run migrate:kovan
./client
$ cd client
.env
file under the directory of ./client
.$ cp .env.example .env
$ npm run client
http://127.0.0.1:3000/pooltogether-with-sports-event-prediction
Bounty of "Best PoolTogether Project" at Gitcoin https://gitcoin.co/issue/pooltogether/pooltogether-contracts/30/4308
Repos
Article abount "v2" https://medium.com/pooltogether/inside-pooltogether-v2-0-e7d0e1b90a08
How to create instance of Oracle https://developer.bandprotocol.com/devs/data-query.html
Sport Events Oracle (Kovan) https://developer.bandprotocol.com/datasets/sport-kovan.html