Skip to content

Prediction Ticket(for professional sports game). Staked by aToken (which is provided by AAVE)

Notifications You must be signed in to change notification settings

masaun/prediction-ticket

Repository files navigation

Prediction Ticket(for professional sports game)


【Introduction of Prediction Ticket(for professional sports game)】

  • This is a dApp of prediction tickets sales platform for club teams and players and audiences of professional sports. (For example, club team is like Manchester United Football Club in the Premier League of UK)
  • Club teams of professional sports can drive engagement of audiences and increase ticket sales by using Prediction Ticket.
  • Prediction Ticket is included the right of prediction of MVP player of today's game.
    • Explanation how prediction ticket work is below.

【How prediction ticket work?】

For example,

  1. if audiences buy a prediction ticket of 30DAI, 5DAI of them come as the voting right of prediction of MVP player of today's game.

    • It mean when audiences buy a prediction ticket of 30DAI, 5DAI of them is staked and pooled automatically via SmartContract.
      • It is staked and pooled by aToken. Especially, aDAI.
    • 1 voting right per 1 ticket.
  2. Before today's game start, audiences predict MVP player of today's game and select them and submit them.

  3. After today's game end, audiences who prediction was successful (who is called winner) and players who was choosen as MVP can get reward from staked pool.

    • Player who is the most collected voting is choosen as MVP of today's game by SmartContract.
    • Reward amount is that divide total pooled amount by numbers of winners plus MVP player.
      • Reward amount above is calculated and distributed by SmartContract.
      • In the case of being staked by aToken(aDAI), it can increase total pooled amount by interest income which is generated by aToken(aDAI). So that winner of audiences and MVP player can receive more reward amount.

 


【Setup】

Setup wallet by using Metamask

  1. Add MetaMask to browser (Chrome or FireFox or Opera or Brave)
    https://metamask.io/

  2. Adjust appropriate newwork below

Ropsten Test Network

 

Setup backend

  1. Deploy contracts to Ropsten Test Network
(root directory)

$ npm run migrate:ropsten

 

Setup frontend

  1. Execute command below in root directory.

$ npm run client
  1. Access to browser by using link
http://127.0.0.1:3000

 


【Work flow】

 


【References】

About

Prediction Ticket(for professional sports game). Staked by aToken (which is provided by AAVE)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published