DiceCraft
Roll dice on-chain and mint the results as a unique NFT!
Created on 28th February 2023
•
DiceCraft
Roll dice on-chain and mint the results as a unique NFT!
The problem DiceCraft solves
What does it do?
DiceCraft aims to provide a pseudo-random way to simulate dice rolls on the blockchain which promotes transparent rolling, prevents intervention and provides a transparent way for users to roll multiple dice at once and then generate a unique Pokemon card style NFT based on the roll's results which can later be minted into their wallets and traded with other users. It gives users access to a metaverse with many possibilities and cross-blockchain gaming assets and paves the way for upcoming dice-based games on the Flow blockchain
Do you love dice games and NFTs? If so, you will love our platform, which combines both fun and innovatively. You can enter the number of dice you want to roll and we will randomly simulate the dice for you. The final number you get will be converted to a unique NFT card that you can mint on the Flow blockchain and trade with other users. Each card has a different design and rarity based on the number you rolled. How lucky can you get? Try it out today and discover your own NFT fortune!
The app was built on top of Niftory's sample app and PRNG contract to get Dice Results
What's Next for DiceCraft?
- Develop a way where exactly equal dice rolls are detected and the original owner of that run is identified and displayed
- A way to create a trading platform of some sort to allow users to fight their cards/ trade their cards
- A decentralized leaderboard system showing the users with highest HP cards
- Better card designs and animations
Challenges we ran into
Coming from the Web2 domain, initially understanding the working of the Flow Blockchain was a stammer. Still, it became straightforward thanks to the beautifully crafted tutorials/videos/codes understanding. In no time, we were able to write Cadence scripts and queries which enabled our app to power.
Initially we also found it hard to understand how the fcl-js library would integrate with the code since we were using it on the backend on our nodejs app, but we found tutorials teaching us exactly what we wanted
Tracks Applied (3)
Best Mobile Experience
Extending the Ecosystem
Best app using Niftory's NFT and Wallet APIs
Niftory
Technologies used