Inspiration

As Fantasy Premier League is quite famous among football fans(soccer). It allows users to host private leagues among their friends & certain communities. In such a case usually, one person hosts the league, collects the fees, and gives them to the winner. Here, we need to trust a person to collect fees and distribute them to the winner, and also transaction around the globe is not easy.

What it does

ChainFPL uses smart contracts and chainlink to completely automate and remove the need for any central organizer. Anyone can trustlessly join the league of their favorite community and the winner gets instant payment without worrying about middle man or host. Moreover, when joining a league user gets NFT of that community. So, the community can organize exclusive events among NFT holders like organizing watch parties on the derby matches.

How we built it

Basically, the ChainLink API client is used to fetch winner data from https://fantasy.premierleague.com. Using the ChainLink keeper the winner is selected every week. For the Web3 integration, Morallis is used and NFT.Storage for storing the NFT

What's next for ChainFPL

  • As funds are locked in the smart contract for a long time. Instead, we can deposit the collected funds on platforms like Compund & give members benefits for the API yield.

Built With

Share this project:

Updates