hackquest logo

Scavenger Game

A blockchain-based scavenger hunt where participants compete to win unique NFTs.

Description

Scavenger Hunt NFT is a decentralized game that leverages blockchain technology to offer a transparent and tamper-proof reward system. Players participate in a scavenger hunt, and the first to complete the challenge is declared the winner. Once the winner is selected, they can mint a unique NFT as a prize. The smart contract ensures that only one winner is chosen and that the NFT reward is properly assigned. This system provides a fun and engaging way to integrate blockchain technology into gaming experiences.

How It Works

  1. The contract starts with no winner selected.

  2. The owner calls setWinner(address _winner), assigning the winner and incrementing the token ID.

  3. The winner can then call mintNFT() to claim their NFT.

  4. The event logs record winner selection and NFT minting for transparency.

Deployment & Usage

  • Deploy the contract to an Ethereum-compatible blockchain.

  • Use tools like Remix, Hardhat, or Truffle for interaction.

Contract Address

(To be added after deployment)

Progress During Hackathon

30%

Tech Stack

Solidity

Fundraising Status

0