Inspiration

What it does

Yield Quest

A no-loss prediction game powered by EtherFi weETH with Claude AI as your adaptive Game Master

Live Demo: https://yieldquest.ashwanthbk.com/


What is Yield Quest?

Yield Quest is an innovative prediction market platform that transforms the way users engage with DeFi. Instead of risking your principal on predictions, Yield Quest enables you to play with only the yield generated from your staked weETH. Your principal remains 100% safe and withdrawable at any time—creating a truly no-loss gaming experience.

Think of it as a gamified yield layer on top of EtherFi's liquid staking, where you can test your prediction skills, compete with others, and earn rewards—all without putting your capital at risk.

Core Concept

  1. Deposit weETH → Your principal is locked safely in a vault
  2. Earn Yield Credits (YC) → Your principal generates YC over time (simulated 5% APR)
  3. Make Predictions → Spend only YC on binary YES/NO prediction markets
  4. Win & Level Up → Correct predictions earn more YC, boost your level, and unlock achievements
  5. Withdraw Anytime → Your principal is always yours, completely risk-free

How It Works

The No-Loss Mechanic

Traditional prediction markets require you to risk your own capital. Yield Quest changes this paradigm:

  • Principal Protection: Your weETH is stored securely in a smart contract vault and never used for betting
  • Yield-Only Betting: Only the Yield Credits (YC) generated from your principal can be used for predictions
  • True Risk-Free: Even if you lose all your bets, your principal remains untouched and fully withdrawable
  • Sustainable Gameplay: As long as you have principal staked, you continue earning YC to play with

Prediction Markets

Engage with diverse binary prediction markets covering:

  • Cryptocurrency prices and trends
  • Sports outcomes
  • Technology developments
  • Political events
  • Science and research breakthroughs

Each market features:

  • Clear YES/NO questions
  • Difficulty ratings (1-5 stars)
  • Close times for resolution
  • Dynamic odds based on pool distribution
  • Admin-verified outcomes

Claude AI Game Master

What sets Yield Quest apart is the integration of Claude AI (Haiku 4.5) as an adaptive, intelligent game master:

Personalized Quests

  • Claude generates custom quests tailored to your skill level
  • Adaptive difficulty based on your historical accuracy
  • Educational learning outcomes embedded in each quest
  • Complete quests to earn bonus XP and achievements

Probability Hints

  • Get AI-powered probability assessments for any market
  • Receive detailed reasoning and educational tips
  • Improve your prediction skills through Claude's insights
  • Learn to think critically about market outcomes

Automated Trading Mode

  • Enable Claude to research and bet on your behalf
  • Set risk levels (Low/Medium/High) and confidence thresholds
  • Claude analyzes markets, calculates probabilities, and places bets automatically
  • Track automated performance with detailed statistics
  • Perfect for passive yield generation

Key Features

1. Wallet Integration

  • Multi-Wallet Support: Connect via MetaMask, WalletConnect, Coinbase Wallet, and more
  • Powered by RainbowKit: Seamless, beautiful wallet connection experience
  • Network Validation: Hardcoded to Sepolia testnet for demo
  • Auto-Initialization: First-time users automatically receive demo data

2. Two Game Modes

Manual Mode

  • Browse available prediction markets
  • Analyze odds and market dynamics
  • Place bets manually with your YC balance
  • Get probability hints from Claude AI
  • Claim winnings after market resolution

Automated Mode

  • Toggle automated predictions on/off
  • Configure risk parameters (Low/Medium/High)
  • Set maximum bet per market and minimum confidence threshold
  • Claude researches markets and places bets automatically
  • Monitor active automated bets and estimated returns

3. Player Progression System

Experience & Leveling

  • XP Rewards: +10 for placing bets, +20 for wins, +50 for 3-win streaks, +30 for quest completion
  • Level Calculation: level = sqrt(xp / 100) with quadratic progression
  • Visual Progress: Real-time XP meter and level badges

Skill Metrics

  • Accuracy: Win rate percentage (wins / total bets × 100)
  • Yield Efficiency: Return on YC spent ((YC won - YC spent) / YC spent × 100)
  • Wisdom Index: Composite score combining accuracy (50%), yield efficiency (30%), and streak bonus (20%)
  • Win Streaks: Track consecutive winning predictions

4. Achievement System

Earn 7 unique achievements with varying rarity tiers:

Achievement Requirement Rarity
First Blood Place your first bet Common
Hat Trick Win 3 in a row Rare
Sharpshooter >60% accuracy with 10+ bets Epic
Quest Master Complete 5 Claude quests Rare
Diamond Hands Withdraw after 7 days staking Uncommon
Whale Deposit >1 weETH Rare
Oracle >75% accuracy with 20+ bets Legendary

Each earned achievement triggers a celebration with confetti animation and is permanently displayed on your profile.

5. Social & Competitive Features

Global Leaderboards

  • Accuracy Leaders: Top players by prediction accuracy
  • Wisdom Index Leaders: Best overall performers
  • Quest Masters: Most quests completed
  • Privacy Controls: Opt-in/opt-out visibility
  • Search Functionality: Find players by address or ENS
  • Real-time Rankings: Pagination with 20 players per page

Profile Page

  • Comprehensive stats dashboard
  • Level, XP, and progress visualization
  • Total bets, wins, losses
  • YC balance and principal display
  • Achievement showcase (earned vs locked)
  • Display name customization
  • Betting history

6. Vault & Credit System

Vault Mechanics

  • Deposit weETH to start earning YC
  • View real-time principal balance
  • Withdraw principal anytime (no lockup periods)
  • Emergency withdrawal capability
  • Smart contract protection

Yield Credits (YC)

  • Accrue from staked principal (5% simulated APR)
  • Visual "breathing" effect shows active accrual
  • Cannot be transferred (only spent or won)
  • Complete audit trail of YC spent and earned
  • New users start with 1000 YC in demo mode

7. Demo Mode

For easy onboarding and testing:

  • Auto-generates 8 diverse prediction markets
  • Seeds realistic user stats
  • Awards 2-3 common achievements
  • Provides 1000 YC starting balance
  • Simulates 1.5 weETH principal
  • One-click setup via admin panel

8. Admin Panel

Manage the platform (address-gated):

  • Create new prediction markets
  • Resolve markets (YES/NO/CANCEL outcomes)
  • Auto-resolve expired markets
  • Initialize demo mode
  • View market statistics

Usage Guide

Getting Started

  1. Visit the Live Demo: https://yieldquest.ashwanthbk.com/

  2. Connect Your Wallet: Click "Connect Wallet" and choose your preferred wallet provider

  3. Automatic Initialization: Your profile is automatically created with:

    • 1000 YC starting balance
    • 1.5 weETH simulated principal
    • 2-3 starter achievements
    • Realistic demo stats
  4. Explore Markets: Navigate to the "Play" page to see active prediction markets

Making Your First Prediction

  1. Choose a Market: Browse available markets and select one that interests you
  2. Analyze the Question: Review difficulty, close time, and current odds
  3. Get Claude's Hint (Optional): Click "Get AI Hint" for probability assessment
  4. Place Your Bet: Choose YES or NO, enter YC amount, and confirm
  5. Track Your Position: View active bets on your profile or play page
  6. Claim Winnings: After market resolution, claim your winnings if you won

Using Automated Mode

  1. Navigate to Play Page: Find the "Game Mode" panel
  2. Toggle to Automated: Switch from Manual to Automated mode
  3. Configure Settings:
    • Risk Level: Low (conservative), Medium (balanced), or High (aggressive)
    • Max Bet Per Market: Set your maximum stake
    • Min Confidence: Claude only bets when confidence exceeds this threshold
  4. Enable Auto-Betting: Toggle the "Enable Automated Predictions" switch
  5. Monitor Performance: View stats on active bets, YC deployed, and estimated returns

Earning Achievements

Achievements unlock automatically when you meet their requirements:

  • Play your first game to earn "First Blood"
  • Win 3 in a row for "Hat Trick"
  • Maintain high accuracy for "Sharpshooter" and "Oracle"
  • Complete Claude quests for "Quest Master"
  • Stake for a week before withdrawing for "Diamond Hands"
  • Deposit significant principal for "Whale"

Climbing the Leaderboard

  1. Improve Your Stats: Focus on accuracy and yield efficiency
  2. Complete Quests: Earn bonus XP and boost your wisdom index
  3. Maintain Streaks: Consecutive wins significantly boost your score
  4. Enable Visibility: Opt-in to leaderboard display in your profile settings
  5. Compete in Categories: Specialize in Accuracy, Wisdom Index, or Quest completion

Conclusion

Yield Quest represents a new paradigm in DeFi gaming—one where users can engage with prediction markets without risking their capital. By leveraging EtherFi's liquid staking and Anthropic's Claude AI, we've created an experience that is:

  • Risk-Free: Principal is always safe and withdrawable
  • Educational: Learn prediction skills through AI-guided quests and feedback
  • Competitive: Climb leaderboards and earn achievements
  • Adaptive: AI difficulty scales with your skill level
  • Accessible: Beautiful, responsive UI that anyone can use

Whether you're a DeFi veteran looking for a new way to put your yield to work, or a newcomer wanting to learn about prediction markets without risking capital, Yield Quest offers a unique and engaging experience.

Try it now: https://yieldquest.ashwanthbk.com/


Thank You

Thank you to the Hack ASU organizers, EtherFi team, and Anthropic for making this hackathon possible. Building Yield Quest has been an incredible learning experience, pushing the boundaries of what's possible when DeFi protocols meet cutting-edge AI.

To everyone who tests the demo, provides feedback, or contributes ideas—your input is invaluable in shaping the future of no-loss prediction markets.

Let's make DeFi safer, smarter, and more accessible together.

Happy Predicting! 🎯


Built with ❤️ for Hack ASU 2025

Built With

  • anthropic-sdk
  • claude-ai
  • framer-motion
  • lucide-react
  • next.js
  • openzeppelin
  • prisma
  • rainbowkit
  • react
  • react-hook-form
  • recharts
  • solidity
  • sqlite
  • tailwind-css
  • typescript
  • viem
  • wagmi
  • zod
  • zustand
Share this project:

Updates