BNB Hackathon – Doubtearn

DoubtEarn 

BNB Hack 2024 Q4 Winner : The Ultimate Battle of Hacker Heroes

DoubtEarn: A Decentralized DoubtEarn Platform

This platform allows users to:

Post questions with a bounty reward for answers. Incentivize experts and enthusiasts to provide valuable answers. Automate payments using smart contracts to ensure trust and transparency. Think of it as a blockchain-powered DoubtNut! 🤔✨

Problem Statement

Traditional Q&A platforms often suffer from inefficiencies such as lack of transparency, delayed payments, and an inability to fairly reward contributors for their efforts. These centralized systems rely heavily on intermediaries, leading to trust issues and disputes between users. Additionally, the absence of incentivization for high-quality answers discourages experts from participating actively.

Solution

DoubtEarn is a blockchain-powered Q&A platform built on the BNB Smart Chain, providing a decentralized, transparent, and tamper-proof ecosystem. This platform incentivizes users to contribute valuable answers by offering cryptocurrency rewards. Using smart contracts, the platform automates payments and ensures trust between participants, removing the need for intermediaries.

Project Description

DoubtEarn enables users to:

  1. Post questions with a bounty reward in BNB.
  2. Submit answers to posted questions.
  3. Automate bounty payouts to accepted answers using smart contracts.
  4. Maintain transparency with all interactions recorded on the blockchain.
  5. Ensure answers remain hidden from everyone except the question creator until a winner is decided.

This project combines the simplicity of Q&A platforms with the efficiency and trust of blockchain technology, providing a seamless user experience through a responsive Next.js interface integrated with Tailwind CSS.

Architecture

 

DoubtEarn uses a modular architecture comprising:

  1. Frontend: Built with Next.js and Tailwind CSS for a user-friendly interface.
  2. Smart Contracts: Developed in Solidity and deployed on the BNB Smart Chain to handle question creation, answer submissions, and bounty payouts.
  3. Blockchain Interaction: Utilizes Ethers.js to interact with the BNB chain, ensuring seamless wallet integration and contract communication.
  4. MetaMask Integration: Allows users to connect their wallets for transactions and rewards.

Demo

Home Page

Browse questions posted by other users:

Creating a Question

Post a question and specify the bounty:

Viewing Question Details

View a specific question and submit answers:

Interaction with BNB Chain

  • Contracts are deployed on the BNB Testnet for development and testing.
  • Bounty payments and answer acceptance are executed through smart contracts.
  • Users connect MetaMask to interact with the platform.
  • Transactions are securely processed using the BNB chain.
  • Encourages adoption of BNB by providing a utility-driven platform.

Future Scope

1. Rating System:

  • Introduce user ratings for questions and answers to enhance quality.

3. Multi-Currency Support:

  • Enable bounties in other cryptocurrencies.

Search and Filter:

  • Add advanced search options based on topics, bounties, or keywords.

4.Mobile App:

  • Develop a mobile application to enhance accessibility and user engagement.

5. AI-Powered Moderation:

  • Use AI to detect spam and ensure quality content.

CONCLUSION

DoubtEarn bridges the gap between Q&A platforms and blockchain technology, creating a trustless, transparent, and rewarding ecosystem for knowledge sharing. By leveraging the BNB Smart Chain, this platform ensures secure and fast transactions, driving adoption of blockchain in real-world applications.