hackquest logo

BlockIQ

BlockIQ is a decentralized blockchain-themed quiz game that integrates blockchain technology. Users can play the quiz by claiming meme tokens, and answering blockchain-related questions.

描述

BlockIQ - Decentralized blockchain Quiz Game

BlockIQ is a decentralized blockchain-themed quiz game that integrates blockchain technology. Users can play the quiz by connecting their wallet, claiming meme tokens, and answering blockchain-related questions. Correct answers reward players with tokens, while wrong answers lead to a penalty. The game is built on Solidity smart contracts to ensure transparency, fairness, and secure token distribution.

Features

  • Play a blockchain-themed quiz using meme tokens.

  • Earn tokens for correct answers.

  • Penalty for wrong answers to encourage strategic play.

  • End the game at any time with results tracked on the blockchain.

  • Fully decentralized with no reliance on intermediaries.

Contract Details

  • Contract Address: 0x9C075F3f1C3F236253c5b21D6d0555F7B571523f

  • Network: EduChain Testnet

Deployment

How to Use

  1. Connect Wallet: Use MetaMask to connect your wallet to the application.

  2. Claim Tokens: Claim initial tokens to participate in the quiz.

  3. Start Quiz: Pay an entry fee in tokens to begin the quiz.

  4. Answer Questions: Choose the correct answer from multiple options to earn rewards.

  5. End Quiz: End the game at any time and check your final score.

Frontend

The frontend allows users to interact with the BlockIQ smart contract via a web interface. Built using HTML, CSS, and JavaScript, it connects to the Ethereum blockchain using the web3.js library.

Future Enhancements

  • Add more categories and themes for quizzes.

  • Implement leaderboards for competitive gameplay.

  • Integrate NFT rewards for quiz achievements.

  • Implement automated notifications for quiz events and rewards.

技术栈

HTMl
CSS
JavaScript
Solidity
Web3
赛道
Gaming