LangDAO
đ Empowering people worldwide to use their native language skills to learn, teach, and earn in Web3
Problem Statement
LangDAO is a decentralized language exchange platform where users can instantly talk, teach, and earn with PyUSD, PayPalâs programmable stablecoin. It transforms traditional, centralized language learning into a borderless, peer-to-peer communication economy, removing banks, middlemen, and friction entirely. Tutors and learners connect directly using smart contracts that ensure instant, trustless PyUSD paymentsâno delays, no high fees, no bank accounts required.Unlike platforms like italki or Baselangâwhere tutors are overbooked or locked behind costly subscriptionsâLangDAO allows learners to start a real conversation with a native speaker instantly and pay only for the minutes they use. Built on blockchain, the system replaces bureaucracy with verifiable trust, while providing transparent micropayments that empower users globally.All you need is a phone, an internet connection, and your voice. LangDAO unlocks earning potential for millions of native speakersâespecially the global majority of unbanked or underemployed graduatesâby turning language skills into income. By leveraging PyUSDâs instant, inclusive, programmable payments, LangDAO reimagines learning as both human connection and economic freedom.
Solution
I'll analyze the project structure and provide comprehensive technical details for your hackathon description. Let me examine the codebase to understand the full scope of the project.[5 tools called]Based on my comprehensive analysis of the LangDAO project, here are the technical details for your hackathon description:LangDAO - Technical Project DetailsđŻProject OverviewLangDAOis a decentralized language learning platform that enables people worldwide to use their language skills to teach, learn, and earn crypto in Web3. The platform focuses on real-time video sessions with per-second billing, creating a sustainable economy for language education.đď¸Technical ArchitectureFrontend StackFramework: Next.js 15.2.3 with React 19Web3 Integration:Wagmi 2.16.4 + Viem 2.34.0 for Ethereum interactionsRainbowKit 2.2.8 for wallet connectionThirdweb 5.109.0 for additional Web3 functionalityUI/UX: Tailwind CSS + DaisyUI for modern, responsive designState Management: Zustand for client-side stateReal-time: Socket.io for live communicationSmart Contract LayerLanguage: Solidity ^0.8.0Network: Ethereum Sepolia TestnetContract Address:0x4Fb5675e6baE48C95c1D4f1b154E3d5e8E36112CToken: PYUSD (PayPal USD) for paymentsKey Features:Per-second billing systemMulti-language support (38 languages)Session lifecycle managementAutomatic payment processingStudent/tutor registration systemWebRTC Video InfrastructureTechnology: Custom WebRTC implementationFeatures:Real-time video/audio communicationSession chat with timestampsCross-user status synchronizationHeartbeat monitoring (10-second intervals)Professional UI with role badgesMulti-language support (16 languages)Deployment: Railway.app production environmentSecurity: HTTPS/WSS protocols with automatic detectionBackend ServicesArchitecture: Serverless/lightweight servicesWebSocket Server: Node.js for real-time signalingEvent System: HTTP POST endpoints for session trackingHeartbeat Service: 10-second interval monitoringIntegration: RESTful APIs for contract interactionsđ§Core Technical Features1. Smart Contract Functionality// Key contract functions - registerStudent(targetLanguage, budgetPerSec) - registerTutor(languages[], ratePerSecond) - depositFunds(amount) // PYUSD only - startSession(tutorAddress, language) - endSession(tutorAddress) - hasSufficientBalance(student, tutor)2. Real-time Payment SystemPer-second billingduring active sessionsAutomatic session terminationon disconnectPYUSD token integrationfor stable paymentsBalance validationbefore session startRefund systemfor unused funds3. Multi-language Support38 supported languageswith ISO 639-1 codesLanguage-specific tutoring ratesStudent target language matchingTutor language capability verification4. Session ManagementSession lifecycle tracking(start, active, end)Real-time cost calculationAutomatic payment processingSession history and analyticsEmergency session terminationđWeb3 IntegrationWallet SupportMetaMask, WalletConnect, Coinbase WalletLedger, Rainbow Wallet, Safe WalletBurner wallet for local developmentNetwork ConfigurationPrimary: Sepolia TestnetDevelopment: Hardhat local networkRPC: Alchemy integration with fallbacksToken EconomicsPayment Token: PYUSD (PayPal USD)Token Address:0xCaC524BcA292aaade2DF8A05cC58F0a65B1B3bB9Stablecoin integrationfor predictable pricingđąUser Experience FeaturesStudent FlowWallet Connectionâ Role SelectionRegistrationâ Language & Budget SetupDeposit Fundsâ PYUSD token approvalFind Tutorâ Matchmaking systemStart Sessionâ WebRTC video callReal-time Billingâ Per-second paymentsSession Endâ Automatic settlementTutor FlowWallet Connectionâ Role SelectionRegistrationâ Languages & Rates SetupGo Onlineâ Availability statusAccept Sessionsâ Student matchingTeach Sessionâ WebRTC video callReceive Paymentsâ Real-time earningsđSecurity & ReliabilitySmart Contract SecurityAccess controlwith role-based modifiersInput validationfor all functionsEmergency functionsfor owner interventionBalance checksbefore operationsWebRTC SecurityHTTPS/WSS protocolsfor secure communicationEnd-to-end encryptionfor video/audioSession token validationHeartbeat monitoringfor connection healthđDeployment & InfrastructureFrontend DeploymentFramework: Next.js with static generationHosting: Vercel-ready configurationEnvironment: Production-optimized buildsBackend DeploymentPlatform: Railway.appURL:https://langdao-production.up.railway.appWebSocket: Real-time signaling serverAPI: RESTful endpoints for integrationSmart Contract DeploymentNetwork: Sepolia TestnetVerification: Etherscan-readyABI: Auto-generated TypeScript interfacesđTechnical MetricsPerformanceReal-time billing: Per-second accuracyVideo latency: WebRTC optimizedTransaction speed: Ethereum network dependentHeartbeat frequency: 10-second intervalsScalabilityMulti-language support: 38 languagesConcurrent sessions: Limited by WebRTC infrastructureUser capacity: Wallet-based authenticationPayment processing: PYUSD token efficiencyđ ď¸Development ToolsSmart Contract DevelopmentHardhat: Development frameworkTypeScript: Type safetyEthers.js: Contract interactionsOpenZeppelin: Security standardsFrontend DevelopmentNext.js: React frameworkTailwind CSS: Utility-first stylingFramer Motion: AnimationsReact Query: Data fetchingTesting & QualityESLint: Code lintingPrettier: Code formattingTypeScript: Type checkingHot reload: Development efficiencyđŻHackathon AchievementsCompleted Featuresâ Full-stack Web3 applicationâ Real-time video communicationâ Per-second billing systemâ Multi-language supportâ PYUSD token integrationâ Professional UI/UXâ Production deploymentâ Smart contract verificationTechnical InnovationPer-second billingfor language learningWebRTC + Web3 integrationfor real-time paymentsMulti-language matching algorithmAutomatic session managementStablecoin payment systemThis technical foundation positions LangDAO as a comprehensive, production-ready platform for decentralized language education with real-time payments and professional-grade video communication.
Hackathon
ETHOnline 2025
2025
Contributors
- aenhsaihan
165 contributions
- BLTC-520
32 contributions
- Harpreet-Singh-lks
2 contributions
- mugaku
1 contributions