hackquest logo

QuizETH

Earn crypto while learning Web3! QuizETH rewards users with tokens for completing AI-generated blockchain quizzes, creating a gamified education ecosystem on Ethereum.

Description

QuizETH is a gamified, on-chain learning platform designed to educate users about Web3 and blockchain concepts in an engaging, rewarding way. Built for the EduChain Hackathon 2025, QuizETH combines educational quizzes, real token incentives, and an AI assistant to make blockchain education fun and interactive.

Users can connect their wallets, take static Web3 quizzes, and submit their scores to earn QET tokens—a custom ERC20 reward token. Top performers are ranked in a live on-chain leaderboard, and all users can claim their accumulated rewards directly from the contract.

To further support learning, QuizETH integrates an AI-powered chatbot assistant, which helps explain concepts, clarify quiz content, and guide users toward deeper understanding of Web3.


Link project: cooming soon

Demo video: cooming soon

Smart contract address: 0xc10DB6F6F48528BF8DD7Ea6F826a50E3aFd04f8a

Link deployed contract: https://edu-chain-testnet.blockscout.com/address/0xc10DB6F6F48528BF8DD7Ea6F826a50E3aFd04f8a

Documentation: https://github.com/ikhwanhsn/quiz-eth/


🚀 Key Features

  • 📚 Blockchain Education – Static Web3 and crypto-related quiz questions

  • 💰 Token Incentives – Earn QET tokens based on quiz scores

  • 🏆 On-chain Leaderboard – Track and display the top 10 scorers live on-chain

  • 🧠 AI Chatbot Assistant – Ask questions and learn directly from an integrated AI trained on blockchain concepts

  • 🔐 Secure & Transparent – Uses OpenZeppelin libraries and follows best practices in smart contract development


🧪 Example Flow

  1. A user connects their wallet and completes a quiz.

  2. They score 8/10 and submit it using submitScore(8).

  3. The smart contract calculates their reward: (8 * 10 + 10) * 10^18 = 90 QET.

  4. Their result is saved and they appear on the leaderboard.

  5. They claim their tokens via claimReward() and receive 90 QET.


⚙️ Tech Stack

  • Solidity (0.8.29) – Smart contract development

  • Hardhat – Ethereum development environment

  • OpenZeppelin – Secure ERC20, Ownable, ReentrancyGuard

  • JavaScript / HTML / CSS – Frontend with wallet integration

  • AI Assistant – Custom logic powered by AI for Web3 education


📦 What’s Included

  • ✅ Smart contract with reward & leaderboard logic

  • ✅ ERC20 token deployment

  • ✅ AI chatbot assistant

  • ✅ Static quiz frontend

  • ✅ Claim/reward system


🎯 Future Plans

  • Dynamic quiz generation from smart contract

  • NFT achievement badges for milestones

  • WalletConnect support

  • Fully responsive UI for mobile

  • User profile dashboard with quiz history and stats

Progress During Hackathon

90

Tech Stack

Next
Solidity
Ethers
Node
Web3
React

Fundraising Status

Not yet funded.

Team LeaderIIkhwanul Husna
Sector
AIDeFiOther