Klash AI revolutionizes crypto trading education through AI-powered battle simulations on-chain.
- Create Your Trader - Design a trading persona in 100 characters or less
- AI Battle Simulation - Advanced LLM simulates realistic market scenarios and trading outcomes
- Learn Through Competition - Every loss teaches market dynamics without financial risk
- On-Chain Forever - Battle results permanently recorded on Base and Flow blockchains
- Starter Character - Everyone begins with a default tier trader to learn the basics
- Gacha Mechanics - Spend credits to unlock powerful new trading characters
- Character Tiers - S-tier (5% drop), A-tier (15% drop), B-tier (25% drop), no-luck (55%)
- $KLASH Consolation - Didn't get lucky? Earn $KLASH points for future rewards
- Special Abilities - Each character has unique trading strategies and market advantages
- S-Tier Legends: Whale Investor, Lucky Memecoin Investor, Quant
- A-Tier Experts: ETH Holder, Fundamental Analyst, Trader Cool-dere
- B-Tier Traders: Secretary, Onee-san, Tsundere Analyst, Influencer Follower Sister, Airdrop Farmer, Coin Maximalist
- Unique Strategies: Each class has special abilities (e.g., Whale Investor gets 2x leverage, Lucky Memecoin Investor has critical hit chances)
- ELO Rankings - Skill-based matchmaking for fair competition
- NFT Characters - Your traders are ownable, tradeable digital assets
- Dynamic Market Conditions - AI generates bull runs, crashes, and black swan events
- Zero-Risk Learning - Practice aggressive strategies without losing real money
- Battle Narratives - AI creates detailed stories explaining why strategies won or lost
- Pay-to-Progress - Buy credits for gacha rolls, skill beats wallet size in battles
- Trading Education Reimagined - Learn expensive lessons through gamified battles
- Mass Market Ready - Simple onboarding, no crypto knowledge required
- Real Educational Value - Study winning strategies from thousands of on-chain battles
- Social & Viral - Share epic battles on Twitter, challenge friends directly
TL;DR: Pokemon battles meet crypto trading with anime-inspired gacha mechanics, where AI teaches you to trade through epic duels.
Mostly vibe-coded using Claude Code / Cursor
- Frontend: React + TypeScript + Vite for lightning-fast performance
- Smart Contracts: Deployed on Base Sepolia and Flow testnet for dual-chain support
- AI Engine: GPT-4 class LLM for market simulation and narrative generation
- Hybrid Storage: PostgreSQL for speed + blockchain
** Dynamic Wallet
-
Implementation: Complete embedded wallet solution for seamless authentication
-
Features Used:
- Embedded wallet auth for frictionless onboarding
- Social logins (Google, Discord) for non-crypto natives
- Server wallets for gasless transactions
-
Benefits:
- Users start playing in <10 seconds without wallet setup
- Handles all Web3 complexity behind the scenes
- Perfect for mass market gaming adoption
** Base (Coinbase Developer Platform)
-
CDP Tools Integrated:
- x402 Payments: Seamless credit purchases for gacha rolls with one-click checkout
- CDP Data APIs: Real-time blockchain data for battle verification and character ownership
- Event APIs: Monitor on-chain battle recordings and NFT character mints
- SQL API: Query historical battle data for leaderboards and statistics
-
Implementation Details:
- x402 handles API payment for credit purchases
- Data APIs track character NFT ownership on Base
- Event streaming for real-time battle updates
-
Benefits:
- Enterprise-grade infrastructure trusted by millions
- Sub-second transaction finality for instant gratification
- Direct integration with Coinbase's 100M+ user base
-
Impact: Battle recording costs ~$0.001, credit purchases in 2 clicks
** Flow Blockchain
-
Implementation:
- Smart contracts deployed on Flow testnet
- Read/write battle data and character ownership
- Deployment supporting EVM
-
Flow Integration:
- Battle results stored on-chain
- Character NFTs minted on Flow
- Cross-chain data synchronization with Base
-
Benefits:
- Consumer-first blockchain designed for gaming
- Account abstraction for gasless user experiences
- Built-in randomness for fair gacha mechanics
-
Impact: Ready for millions of users without sharding complexity
- Technical Innovation
** Gacha & Monetization System
- Credit Purchase Flow: x402 (CDP) → Credits → Gacha Rolls
- Smart Probability: On-chain verifiable randomness for fair drops
- $KLASH Economy: Failed rolls earn points for future rewards
- Character Trading: Secondary market for rare S-tier characters
** Architecture Highlights
- Multi-Chain Strategy - Characters and battles on both Base and Flow
- Progressive Web3 - Start with email login, discover blockchain gradually
- Gas Abstraction - Dynamic + CDP enable playing without holding crypto
** Performance Metrics
- Battle Generation: <2 seconds including AI simulation
- Gacha Roll: Instant with on-chain verification
- Transaction Cost: $0.001 on Base, gasless option on Flow
- Onboarding Time: 30 seconds from landing to first battle
- Mobile Optimized: 100% responsive, works on any device
** Hackathon Alignment
- CDP Maximum Integration: Uses ALL 4 CDP tools (x402, Data APIs, Event API, SQL API)
- Flow Killer App: Consumer gaming with mass market appeal and on-chain deployment
- Dynamic Triple Crown: Qualifies for Financial (trading education), Consumer (gacha gaming), and AI (LLM battles) prizes
- Production Ready: Fully deployed on Base Sepolia and Flow testnet - not a demo