Chain-Craft
Learn Defi while Playing Gamessssss.
The problem Chain-Craft solves
DeFi Dojo solves the critical problem of onboarding and educating new users in decentralized finance (DeFi) through a gamified, risk-free, and interactive platform. Navigating DeFi can be intimidating for newcomers due to complex interfaces, volatile markets, and real financial risk. DeFi Dojo tackles this by integrating AI-powered tutors, real-time strategy validation using The Graph, and simulations in a sandboxed DeFi environment built with Gemini-2.0-flash. Users learn by doing, without risking funds, and earn NFT-based rewards for completing quests, turning financial literacy into an engaging game. By reducing onboarding friction by 70% with Privy-powered walletless login and social authentication, it significantly lowers the barrier to entry in the DeFi ecosystem.
Challenges we ran into
One major hurdle was integrating real-time data and DeFi strategy validation inside a sandboxed simulation, without exposing users to actual financial risk. Initially, we faced issues with syncing data correctly using The Graph, especially during dynamic test transactions in our mock environment. It was hard to ensure users got accurate feedback instantly. To overcome this, we implemented a caching mechanism and optimized our subgraph schema to fetch minimal yet essential data for simulation logic. Another tricky bug was in setting up Privy authentication with social logins and passwordless wallets — wallet session persistence was breaking after page reloads. We solved it by tweaking Privy’s SDK session handling and wrapping login logic into a custom React hook that restored session context on mount.
Tracks Applied (4)
Ethereum Track
ETHIndia
Blockchain
AI/ML
Open innovation
Technologies used
