EARN IQ
GET PAID FROM YOUR KNOWLEDGE
Created on 22nd April 2026
β’
EARN IQ
GET PAID FROM YOUR KNOWLEDGE
The problem EARN IQ solves
π―The Problem
Students have zero financial motivation to study. Traditional learning platforms give you badges and streaks, but nothing tangible. At the same time, micropayments have always been too expensive and complicated to send to individuals β until now.
Two problems:
Students don't have a real reason to engage deeply with learning material
Educators/platforms can't reward students financially because sending $0.10 to someone used to cost more in fees than the reward itself.
π‘ The Solution β EarnIQ
EarnIQ is an AI-powered quiz platform that pays students real USDC cryptocurrency for correct answers.
Here's exactly how it works:
Student signs up and sets their crypto wallet address
They pick a subject and difficulty (Easy / Medium / Hard)
Google Gemini AI generates or selects a question
Student submits their answer
Gemini evaluates the answer with a score from 0β100, gives feedback, hints, and study tips
If score β₯ 75 β Locus automatically sends real USDC to the student's wallet
Easy = $0.10
Medium = $0.25
Hard = $0.50
Everything is logged with an AI-written audit trail for transparency
π Why This Is New
Before EarnIQWith EarnIQStudy = no rewardStudy = real moneyMicropayments were impracticalLocus makes $0.10 payments viableGeneric feedbackGemini gives personalized AI feedbackNo accountabilityDaily caps + audit trail via Locus
π€ AI's Role (Gemini does 3 jobs)
Evaluates whether your answer is correct with nuanced scoring
Generates fresh questions on any topic on demand
Creates personalized study tips when you get something wrong
πΈ Locus's Role
Sends the actual USDC payment to the student's wallet on Base network
Enforces payment policy (daily cap of $1/student, max $0.50/transaction)
Requires AI-written justification for every payment β full audit trail
Challenges we ran into
- CORS on deployment
The biggest post-deployment bug was a CORS mismatch β the FRONTEND_URL environment variable on Render had a trailing slash (https://earn-iq-ofdg.vercel.app/) which made the Access-Control-Allow-Origin header not match the actual origin. Requests were blocked silently. Fixed by removing the trailing slash. - Frontend API calls not using the backend URL
All fetch calls were hardcoded as /api/... instead of using VITE_API_URL. This meant the frontend was hitting Vercel's own server instead of the Render backend. Fixed by prefixing every fetch with import.meta.env.VITE_API_URL. - Render root directory misconfiguration
Since this is a monorepo, Render kept running from the wrong folder. The build command auto-prepended backend/ causing deploy failures. Fixed by adding a render.yaml config file to explicitly set the root directory and commands. - Gemini response parsing
Gemini sometimes returns markdown-wrapped JSON (json ...). The evaluator agent would crash trying to JSON.parse() the raw response. Fixed by stripping markdown fences before parsing.
Tracks Applied (1)
Track: Using BuildWithLocus to leverage our suite.
Technologies used
