AbQuiz is a simple smart contract that introduces new developers to core blockchain concepts such as:
Ownership control (onlyOwner modifier)
Data immutability and transparency
Hashing for secure answer storage (keccak256)
Event emission (QuizWon) for on-chain notifications
Once deployed, the contract lets the quiz owner set a question and store a hashed version of the correct answer (so nobody can read it directly from the blockchain).
Participants then submit answers — the first correct one is logged forever as the winner!
repo link - AbQuiz
The Mission
The primary mission of this project is Educational. It serves as a gateway for developers entering the Celo ecosystem to understand:
repo link - AbQuiz
Blockchain quiz platform rewarding correct answers.
The solution
AbQuiz solves these issues using smart contract logic:
keccak256 hash. The contract verifies submissions by hashing them and comparing the result. This keeps the answer secret on-chain.setQuiz function can only be called once. Once the question is live, the owner cannot tamper with it.repo link - AbQuiz
India