Inspiration

We wanted to create a fun and fair quiz platform that rewards knowledge while leveraging the security and transparency of blockchain technology. Traditional quiz competitions often are free and users have nothing to lose. Even if someone wins they don't get any reward for their knowledge. With Quiz3, we solve these problems by using smart contracts on the Electroneum mainnet to ensure fairness, instant payouts, and decentralized management.

What it does

Quiz3 is a decentralized quiz platform where users join real-time quizzes by paying a fixed entry fee. All participants answer questions simultaneously, and the winner is determined at the end of the quiz. Smart contracts handle user management, payments, and prize distribution automatically, ensuring a transparent and tamper-proof experience. Once a quiz is completed, users can claim their rewards directly from the dashboard.

How we built it

We developed Quiz3 using smart contracts deployed on the Electroneum mainnet to handle payments and user interactions securely. On the backend, we integrated blockchain transaction handling, real-time quiz management, and secure user authentication. For transaction handling we've deployed our own Graph to index blockchain data, so our backend always track each participant. To make game fair for every user we've made websockets, so all users see questions at the same time and have same timeframe to answer. Our focus was on creating a seamless, decentralized experience that ensures fair play and instant reward distribution.

Challenges we ran into

Smart contract development: Ensuring secure, efficient, and fair reward distribution required extensive testing and optimization. To make smart contracts secure we've made public methods for all users and part of methods for Oracle which finalize each quiz on smart contract with winning users. Real-time quiz synchronization: Keeping all users in sync while answering questions simultaneously was a technical challenge. For these purposes we've made websocket connections for each quiz. It was a good challenge to develop it on backend and connect on frontend with many tests. Blockchain transaction aggregation: Managing transactions on blockchain is not always easy. We've come to idea of deployment of our own Graph on our server based on our smart contract since it's not supported on TheGraph. User experience: Making blockchain interactions smooth and user-friendly for non-crypto users was an important design challenge.

Accomplishments that we're proud of

  • Successfully implemented a fully decentralized quiz system with automated payments and prize distribution.
  • Built a seamless and engaging user interface that enhances the quiz experience using websockets
  • Overcame blockchain data aggregation
  • Ensured a secure and fair platform where no third party can manipulate the results.

What we learned

  • Effective ways to manage real-time events on a decentralized platform.
  • How to enhance blockchain usability for mainstream users unfamiliar with crypto technology.
  • Strategies to create a fair and trustless gaming environment using blockchain.

What's next for Quiz3

  • Multi-category quizzes: Expanding quiz topics to cater to different interests.
  • Leaderboard & ranking system: Introducing user rankings and reward tiers for top performers.
  • Community-driven quizzes: Allowing users to create and host their own quizzes for others to join.
  • Integration with more cryptocurrencies: Expanding payment options beyond Electroneum.
  • User profiles: Managing users data about their game history inside single dashboard

Make sure you have USDt to enter a quiz - 0xD70B4b2e14cBA41fE011ea0c7021B6E64d960d87

Quiz3 is just getting started—we’re excited to build the future of decentralized quiz competitions!

Built With

+ 4 more
Share this project:

Updates