CodeQuest Arena
Code. Compete. Conquer.
The problem CodeQuest Arena solves
Looking at your CodeQuest Arena hackathon platform from the previous conversation, here's a comprehensive README file for your project:
🚀 CodeQuest Arena
"Code. Compete. Conquer."
A revolutionary blockchain-powered hackathon platform that transforms competitive coding into a rewarding experience with AURA cryptocurrency rewards.
🌟 Overview
CodeQuest Arena is a decentralized hackathon platform where developers can participate in coding competitions, earn AURA coins for winning, and redeem them for real ETH. Built with React, Firebase, and Ethereum blockchain technology.
✨ Key Features
🏆 For Participants
Join Hackathons - Browse and register for active hackathons
Submit Projects - Upload code repositories and demo videos
Earn AURA Coins - Win cryptocurrency rewards for outstanding projects
Transaction History - Track all AURA earnings and ETH conversions
GitHub Integration - Seamless integration with GitHub profiles and repositories
🎯 For Hosts
Create Hackathons - Design custom coding competitions
Manage Participants - View registered teams and their GitHub profiles
Select Winners - Award AURA coins to winning projects automatically
Track Analytics - Monitor participation and engagement metrics
💰 Blockchain Features
AURA Cryptocurrency - Native token for rewards and transactions
ETH Conversion - Convert AURA coins to Ethereum
Smart Contracts - Automated reward distribution
Transaction Security - Blockchain-verified transactions
🛠️ Technology Stack
Frontend
React.js - Modern JavaScript framework
CSS3 - Responsive design with animations
React Hooks - State management and lifecycle
Backend & Database
Firebase Firestore - Real-time NoSQL database
Firebase Storage - File and media storage
Firebase Authentication - User authentication system
Blockchain
Ethereum - Smart contract deployment
MetaMask - Web3 wallet integration
Web3.js - Blockchain interaction library
📦 Installation
Prerequisites
Node.js (v16 or higher)
npm or yarn
MetaMask browser extension
Firebase project setup
Challenges we ran into
Firebase Integration Issues
Import/Export Problems - Struggled with Firebase service exports not being recognized
Missing Database Instance - The db export wasn't properly configured, causing import errors
Authentication Setup - Had to resolve conflicts between Firebase Auth and your custom authentication
Real-time Data Sync - Managing state updates when Firebase data changed
React State Management
Complex State Dependencies - Managing hackathons, participants, and submissions across multiple components
Async State Updates - Handling loading states and preventing race conditions
Modal State Conflicts - Registration and submission modals not opening due to state management issues
User Interface Problems
White Screen Errors - Component crashes due to undefined values and missing error boundaries
Registration Button Not Working - Event handlers not properly attached, causing non-functional registration
Responsive Design - Making the interface work across different screen sizes and devices
Web3 Connectivity
MetaMask Integration - Connecting wallet functionality with React components
Network Switching - Handling different Ethereum networks (mainnet vs testnet)
Transaction Management - Implementing AURA coin transactions and ETH conversions
Smart Contract Interaction
Contract Deployment - Setting up and deploying AURA token contracts
Gas Fee Management - Optimizing transaction costs for users
Error Handling - Managing failed blockchain transactions gracefully
Tracks Applied (1)
Ethereum Track
ETHIndia