Search projects, hackathons, sponsors and tech

    ← All projects

    RunJudge

    RunJudge - An AI-powered judge for social fitness challenges that verifies Strava runs while funds are staked. Think of it as a decentralized fitness escrow with a sassy personality that won't let you get away with taking the bus. 🏃‍♂️🚌 ```

    Demo

    About

    Running challenges with friends should be fun, fair, and rewarding. RunJudge makes it happen by combining Strava activities, AI verification, and USDC prizes on Base. Create a challenge, set a distance and prize pool in USDC, and let our AI judge analyze Strava activities to determine the winner - all without needing crypto knowledge! The platform uses AI to analyze Strava data, ensuring fair competition by detecting potential manipulation and normalizing performances across different distances. Heart rate data verification and pace analysis guarantee legitimate submissions.

    How it's made

    Smart Contracts Deployed on Base, our RunJudge.sol contract handles: - Challenge creation with USDC staking - Participant management (max 2 per challenge) - Activity submission via Strava activity IDs - Automated prize distribution to winners - Gasless transactions via Base Paymaster & Coinbase Smart Wallets AI Verification with Coinbase Agent Kit Our agent service leverages Coinbase's Agent Kit for autonomous on-chain actions: - LangChain with Google's Gemini for activity analysis - Image processing of Strava screenshots - Heart rate data verification - Pace normalization across distances - Automated winner declaration on-chain - Secure wallet management via Coinbase Developer Platform's Wallet Provider Modern Web Stack Frontend Framework Next.js 15 with App Router Coinbase OnchainKit for: - Wallet connections - Fiat on-ramping - Identity management - Viem/Wagmi for type-safe contract interactions - shadcn/ui components built on Radix primitives - Tailwind CSS for styling Backend & Data The Graph for challenge data indexing: - Lifetime earnings tracking - Available challenges discovery - Participant statistics - Subgraph deployment on Base - OpenRouter as an AI load-balancing platform Challenges Our main technical hurdle was Strava's API limitations. We built a respectful web crawler to extract essential activity data while awaiting approval for API access. This temporary solution lets us analyze key metrics but misses out on richer data points available through official integration since we rely on what's normally shown to the user.