Inspiration
ParlayMint was inspired by the team’s enthusiasm for sports and gambling, along with other similar NFT projects. Overtime recently released pass-based NFTs on Magic Eden, a Solana NFT marketplace, where holders get airdropped bracket NFTs to a wide variety of sports. Our project serves as an extension of this idea, where the NFT marketplace is more specialized for sports and predictions on games. Instead of brackets, we decided to pick parlays as they were easier to work with, although the NFT’s metadata can contain outcomes for any sort of wager or prediction type.
What it does
ParlayMint allows users to create sports parlays and mint them as NFTs. When creating the parlay, the odds for each sporting event are obtained using Chainlink. Users can sell their minted parlay NFTs in an NFT marketplace on the polygon blockchain. The original minter can specify a royalty percentage that they’ll receive off of every resale of the NFT, and the crypto will actually be sent to their wallet address. The outcomes of the events in the parlay events can be used to build user reputation scores as well as be redeemed for Matic rewards based on the bet size and odds of the predictions. Our application serves as a framework for potential gamification, where users are airdropped random parlay NFTs and compete against one another for the best picks. The airdropped parlay NFTs can even be restricted to holders of a particular NFT collection. Ultimately, this project is an example of NFTs that possess utility with the potential additions of contests and airdrops in the sports world.
How we built it
We built ParlayMint using Chainlink and the polygon blockchain to handle NFT interactions. We used the popular Web3 framework Moralis, along with NextJs, Tailwind CSS, and Ant-Design. The way that our minting flow works is
- Authorized Experts create a parlay collection
- Authorized Experts use Chainlink to calls the odds api from the-odds-api.com
- Authorized Experts save the NFT metadata in moralis
- NFTs are minted using the NFT metadata
We have flow diagrams of the various processes for creating and trading Parlays in the images.
Challenges we ran into
The main challenge that we had when developing ParlayMint was the UI. We didn’t have too much experience with Tailwind and Ant-Design, so it took us a long time to get certain elements on the page to display correctly.
Accomplishments that we're proud of
We have made a fully functioning NFT marketplace for users to mint parlay NFTs. There is a real email-based verification process that enables future flexibility as far as the direction of the project. We also have dynamic url routing of NFT details and profiles, and multi-minting of NFTs all working.
What we learned
From this hackathon, we gained a lot of experience working with Moralis. We hope that this accumulated experience will help us in the future to develop more user-friendly apps that can utilize blockchain and its advantages nicely.
What's next for ParlayMint
- continue to improve the UI to make it more streamer and user friendly
- gather and implement feedback for our website and the overall direction of sports pick-based NFTs and potential gamification
Log in or sign up for Devpost to join the conversation.