Created on 1st March 2023
•
When it comes to keeping users engaged with collectable NFT's, we decided that we wanted to create a platform that not only increased the users of the FLOW network but also increased the prices and demand of the lesser known and less popular NFT's of the NBA Top Shot Moments collection.
With our projects weekly fantasy vision that allows users to pick a team of NBA players based on the players in their Top Shot collection, being conjured underneath a cap of game score per player, and setting that lineup whilst utilizing 2 player swaps per week to gain an edge, and the inability to use cards that are listed on the market, we believe that the ultimate of owners Top Shot Moments will greatly increase due to the demand of onboarding fantasy players as well as the utilization of more and lesser known NBA players gaining an increase in price because of the integrated internal game score cap, which will ultimately be immensely beneficial to the NBA Top Shot platform in driving up prices and creating market demand, as well as creating a one of a kind game on the FLOW network.
We want this to be accessible for all so in the future a mobile experience could be very valuable.
The main challenge we ran into during the project was the inability to properly utilize a users TopShot collection within our application. Our app was only connected to our local blockchain so there was no way to pull the users mainnet TopShot collection. I believe a workaround could have been importing the TopShot contracts onto the local blockchain and creating the collections that way but for times sake we refrained from doing so. Our workaround was to first connect our app to the Flow mainnet, then using the publicly available TopShot scripts, we logged in with our Dapper Wallet and called the script to get all the IDs of a users collection. We took that information and stored it in a static json file so that we could load it seamlessly when developing. Ideally, we would have liked to get it working with the users collection but we felt this was the easiest route for now. We also wanted to use the NFT IDs that we stored to display an image of the TopShot moment but ran into some issues with load times so we decided against using it.
There were a few features missing that we would have liked to add namely a payment feature for joining a league. The idea was that the league creator could also add an entry fee and in order to join the league, the entry fee would have to be paid along with submitting a team to compete with in that league. The payment would have been in FLOW or FUSD as those would have been the two simplest to implement. We didn't work around this, instead we just let joining a league be free.
We also wanted to tokenize the League resource in our cadence smart contract. The plan was that the user who was deemed to be the winner at the end of the week would then become the owner of the League resource granting them complete access to it. Tokenizing the league is something we were really high on as it could have been an extra incentive for competing and winning the league.
We Love Flow and We Will Continue to Build!
Tracks Applied (2)
Dapper