Inspiration

This project is inspired by Pool Together, a lottery without losers. The concept behind Pool Together is for participants to lock a deposit into a pool that will generate interests. Those interests are distributed to the winners of the lottery. The idea behind "InterPool" is to bring an evolution where the winners are not only designated randomly but based on their skills. An easy way to replace the chance factor by the skill factor is to use games. The highest scores will get the rewards coming from the pool generated interests.

InterPool is the second project we developped using this concept of Prize saving protocol, and the idea is to bring it to other fields such as crowfunding, charities, ...

What it does

It's a Sport Prediction Game with no losers, where the winners share the interests generated by the deposits of all the participants.

The problem our project addresses

1) Gamblers waste so much money (that they sometimes don't have) on gambling games.

2) Difficulties to onboard new comers in the Blockchain ecosystem that is too complex, and not really sexy for most humans.

How we’ve addressed the problem

1) By sharing the interests generated by the deposits of all the participants, no one looses money, but it is still possible to gamble and have fun. There is a real social impact with the InterPool project.

2) Sport prediction games, especially with the World Cup around the corner, are incredibly popular. We believe this popular topic can onboard plenty of newcomers that might be interested to dig more about the blockchain. NFT brought plenty of new comers, Sport Predictions games with no losers might also participates to it.

How we built it

1) InterPool is live on Goerli (Ehtereum Testnet) and Mumbai (Polygon Testnet). Professional third parties will audit the InterPool code prior full deployment on the mainnet.

2) Here are the major key contracts:

  • InterPool ERC20 Token management
  • Pool contract (Interests generation on Aave - Liquidity Provider)
  • Participants predictions saving, Scores, Rankings and Prize distribution
  • Chainlink external oracle integration (in order to get the data from the FIFA World cup 2022, and later on all the next game that we will integrate on the InterPool app)

3) For the Hackathon we have integrated the FIFA World cup as our first prediction game. We will add new and regular prediction games (weekly most probably) for the next update of InterPool.

Tutorial - How to submit your Predictions?

https://youtu.be/Z9t3BWaZARw

Challenges we ran into

  • Oracle integration / management / testing (no dummy data available, so tests must be performed with the limited live data available)
  • Score computation, rankings and rewards computation of the participants

Accomplishments that we are proud of

Having a fully operational app, that was a really challenging and ambitious project at the beginning. The interest generated by the project made us really proud. Being challenged by the community about the details was also really appreciated.

What we learned

Create a bridge between external API and our protocol (using our own Chainlink node even we don't use this solution at the end) How to use data provider nodes (we selected this solution instead of managing our own Chainlink node)

What's next

  • Conducting third party security audits prior going live on the mainnet added to the road map. ⚠️ If there is any sponsors for this particular matter that would be amazing!
  • Developing the DAO
  • Multichain compatibility
  • Adding new sports / Regular contests

Contracts

1) Github with all the latest contracts: https://github.com/pgrandne/Interpool/tree/main/core/contracts

2) All contracts URLs on Etherscan:

3) All contracts on Polygonscan:

Built With

Share this project:

Updates

posted an update

https://youtu.be/pXxTYQ9UFGg

This video presents how to follow up on your predictions when you are connected with your wallet.

  • you can visualize your predictions (with a color code corresponding to the points you've earned for each game)
  • your current rank / score
  • the overall ranking table, showing positions and scores of all the participants of the current contest.

As the competition did start on November 20th (after the hackathon submission date) we were not able to show the interaction with Chainlink/Enetpulse, our oracle/data provider. So this video is also to highlight the different steps, and interection with our smart contract.

If you want to participate to the second contest coming right after the group phase, you'll have to submit your predictions before the 3rd of december!

Log in or sign up for Devpost to join the conversation.