project screenshot 1
project screenshot 2
project screenshot 3

grteacher

A web-based quiz app that uses CELO blockchain and graphprotocol. The questions are preparation for the initial interviews for the Graph Advocates program.

grteacher

Created At

ETHGlobal Tokyo

Project Description

A web-based quiz platform that uses Celo blockchain technology for a transparent, tamper-proof, and decentralized experience. Users connect their Celo wallet to register, answer questions, and receive rewards in Celo tokens. The platform leverages smart contracts for quiz logic and ensures data integrity, making it ideal for educational or competitive purposes. The user-friendly interface and integration with popular wallet providers offer a seamless experience, while the underlying blockchain technology fosters trust and fairness for all participants.

How it's Made

I used ChatGPT to write all the code, as I do not have any coding experience. It was very interesting to see how good it was!

ChatGPT used: To build this web-based quiz platform, we utilized the following technologies:

Celo Blockchain: The core of the project, Celo provides a decentralized, secure, and transparent system. We used Celo's smart contracts to handle quiz logic, user registration, and token rewards. This ensures data integrity and maintains trust among participants.

Solidity: We wrote smart contracts in Solidity, the primary language for Ethereum and Celo blockchain development. These contracts handle quiz creation, question management, user participation, and rewards distribution.

React: A popular JavaScript library, React enabled us to build a responsive and interactive user interface. We integrated it with Web3.js to communicate with the Celo blockchain.

Web3.js: This library allowed us to interact with the Celo blockchain, enabling users to connect their wallets, participate in quizzes, and receive rewards.

Node.js & Express: We used Node.js for server-side logic, and Express to create a lightweight, flexible API to serve quiz content, user data, and other necessary information.

One notable hacky aspect of our project was the implementation of a custom gas optimization technique. We minimized the amount of data stored on-chain by keeping quiz content off-chain and only storing necessary transactional data. This significantly reduced gas fees and improved user experience without compromising data integrity or decentralization.

background image mobile

Join the mailing list

Get the latest news and updates