DoubtEarn

DoubtEarn: A Decentralized Answer-to-Earn Platform πŸ’‘πŸ’°

DoubtEarn is a decentralized Q&A platform built on the BNB Smart Chain, enabling users to earn cryptocurrency by answering questions. πŸš€

This platform allows users to:

  1. Post questions with a bounty reward for answers.
  2. Incentivize experts and enthusiasts to provide valuable answers.
  3. Automate payments using smart contracts to ensure trust and transparency.

Think of it as a blockchain-powered DoubtNut! πŸ€”βœ¨


🌟 Features

1. Create Questions

Users can post questions on the platform, specifying:

2. Answer to Earn

Other users can view the posted questions and provide answers. If their answer is accepted, they will automatically receive the specified reward directly in their wallet.

3. Decentralized Payments

Payments are securely handled by a smart contract deployed on the BNB chain, ensuring trust between users.

4. Transparent System

All questions, answers, and transactions are recorded on the blockchain, providing a transparent and tamper-proof system.

5. User-Friendly Interface

Built with Next.js and Tailwind CSS, the platform offers an intuitive and responsive interface for smooth user interaction.


βš™οΈ Technologies Used

This project leverages the following technologies:


πŸš€ How It Works

1. Posting a Question

A user creates a question, specifying:

2. Answering the Question

3. Accepting an Answer


🌐 Running the Project

Follow these steps to set up and run DoubtEarn locally:

1. Prerequisites

Ensure you have the following installed:


2. Installation

  1. Clone the project repository:

    git clone https://github.com/gola-k/DoubtEarn_bnb.git
    cd DoubtEarn
    
  2. Install dependencies:

    yarn install
    
  3. Create a .env file and add the following configuration:

    NEXT_APP_RPC_URL=https://bsc-dataseed.binance.org/
    
  4. Deploy the smart contract using Hardhat:

    yarn hardhat run scripts/deploy.js
    
  5. Start the development server:

    yarn dev
    

    The app will run at http://localhost:3000.


πŸ“Έ Screenshots

1. Questions List

Questions

Browse questions posted by users.

2. Creating a Question

Creating Questions

Post your question and specify the bounty.

3. Question Details

Questions Details

View question details and submit answers.


🀝 Contributing

We welcome contributions to improve DoubtEarn! πŸŽ‰

  1. Fork the repository.
  2. Create a new branch.
  3. Implement your changes and commit them.
  4. Open a pull request for review.

✨ Future Enhancements


πŸ“§ Support

Have questions or need assistance?
Feel free to reach out at kunalgola9930@gmail.com or open an issue in the repository.


Built with ❀️ and powered by the BNB Smart Chain!