Inspiration

MonstaRoll is a betting game inspired by slot machines. It is powered by Chainlink VRF v2 for the random results and it works cross chain, currently running on the testnets of BNB Chain, Polygon and Avalanche.

What it does

Players can bet as much as they want, then they get a randomly given 5 monsters forming poker hands. They earn a reward depending on their result. The good part is regardless of you win or lose, you get a free NFT representing your monsters. This NFT is also used as a raffle round ticket.

The problems MonstaRoll addresses / Challanges I ran into

Betting games have a problem of user loyalty. Once a user plays couple of rounds, they are bored and want to try other games. I required to have a solution to reward old users and also give new users a chance to win rewards as well.

In addition to that to keep the NFTs more valuable they need to be more than an art. They need to reward long time owners.

How I addressed the problem

MonstaRoll has a raffle system that shares the 30% of the bets with the lucky users. On every raffle round, this balance is divided into two: -half goes to the lucky NFT holders -half goes to a lucky better on that raffle round

This way new users have a way to win half of the raffle round with equal chance as everyone

The other half goes to the owners of randomly chosen NFT id. This way a user who minted that NFT months ago also has a chance to win the reward. The more NFT users have, the more chance they have to win the reward.

With this reward system, users would be expected to trade their multiple NFTs which other trying to keep more unique NFTs to themselves. This will also create a circulation of the NFTs and will keep the NFT Market alive.

How we built it and what technologies we used

MonstaRoll is built on EVM using Solidity language. Used Hardhat to compile and deploy the contracts. It is powered by Chainlink VRF V2 for the random results. It is working cross chain, available on BNB Chain, Polygon and Avalanche (testnets for the Hackathon demo). The backend is powered by Moralis, providing the current ERC1155 NFTs of the users and syncing the events for NFT Market sales.

Accomplishments that we're proud of

I believe I have implemented a good strategy to make both loyal and new users happy. Providing a free NFT which both has a value and also is a ticket for another winning opportunity.

What we learned

The main outcome is an extensive research about the strategy and tokenomics of NFTs

What's next for MonstaRoll

The next step is having different arts for different occasions/events, creating the possibility of holding different NFTs

Demo: link

Contracts: BNB Testnet: 0xCf679d9278eB6e9cF0c35e51A35a26feA5103aF5 Polygon Mumbai: 0xD57b2DeB5c3e55E7fFd9652D5a36B395B18D16a1 Avalanche Fuji: 0xD57b2DeB5c3e55E7fFd9652D5a36B395B18D16a1

Built With

  • avalanche
  • bnb
  • bnbchain
  • chainlink
  • filecoin
  • hardhat
  • ipfs
  • moralis
  • polygon
  • solidity
Share this project:

Updates