Inspiration

This game is inspired from the traditional Musical Chairs game, where many people begin and game and at the end 1 individual wins the game. I am inspired by the loot project and wanted to create a mini-NFT game which is purely on-chain and dynamic in nature

What it does

In this game the users will have access to mint a single NFT for a single transaction. Once the user mints the NFT that person is obliged to transfer it with anyone and again receiver has to transfer this NFT to someone else and so on until a WIN is declared in the NFT. Each time a person transfer's the NFT to other person, the contents of the NFT changes. The individual has to share these NFT until its declared in the NFT that the user has won.

How I built it

I have built this game using hardhat and deployed it on Rinkeby testnet, I used ethers.js to connect the smart contract with the front-end.

Challenges I ran into

Learning Solidity and React, getting random number using Chainlink VRF because of failed transaction due to gas limit, working with SVGs and changing their data dynamically.

Accomplishments that I am proud of

  • Deploying my first smart contract
  • Creating my own NFT
  • Playing with others NFTs
  • Creating my own NFT game
  • Consistently learning stuff daily and executing

What I learned

  • I learnt Solidity and React.js
  • I got to play, create and deploy the smart contracts
  • I got introduced to many web3 stuff like DAO, DeFi-2.0, etc

What's next for Pass The NFT

  • I am thinking to add more features to it
  • Creating this game specially for a DAO
  • Advanced Raffle System

Built With

  • chainlink-vrf
  • etherium
  • hardhat
  • react.js
  • rinkeby
  • solidity
Share this project:

Updates