DeFi yield prediction markets on Flare - stake $FXRP, bet on yields, win with verifiable randomness
Prize Pool
PredictYield is a DeFi prediction market platform built on the Flare blockchain that democratizes yield prediction in the DeFi ecosystem. Users can mint synthetic XRP ($FXRP) through Flare's FAssets protocol and stake it to bet on future yield rates of popular DeFi pools like Aave's USDC lending rates.
The platform creates an engaging, transparent betting environment where participants predict whether yield rates will rise above or fall below specific thresholds within dynamically determined time periods. What makes PredictYield unique is its deep integration with Flare's entire infrastructure ecosystem - leveraging FTSOv2 for real-time yield data (updating every ~1.8 seconds), FDC (Flare Data Connector) for external yield validation via Merkle proofs, and Secure Random for verifiable fair settlement timing.
The platform targets both DeFi enthusiasts and mainstream users by gamifying yield prediction while maintaining transparency through comprehensive Blockscout integration. Users earn not just betting winnings but also Blockscout Merits for platform participation, creating multiple reward mechanisms. The system uses multi-oracle consensus (FTSOv2 + FDC) to ensure accurate settlement data and implements cost-effective operations through free FTSOv2 querying and efficient Merkle proof validation.
PredictYield showcases a sophisticated integration of cutting-edge blockchain technologies, specifically targeting Flare's unique infrastructure capabilities.
Smart Contract Architecture: Built with Foundry for robust smart contract development on Flare Coston2 testnet FAssets Integration: Enables minting of synthetic XRP ($FXRP) for staking in prediction markets FTSOv2 Deep Integration: Leverages block-latency feeds updating every ~1.8 seconds with 1/2^13 precision for real-time yield tracking, utilizing completely free querying for cost-effective operations FDC JsonApi Attestation: Implements external DeFi yield data validation using Merkle proofs with network-level security requiring 50%+ signature weight Secure Random Implementation: Uses Flare's Scaling protocol randomness for verifiable fair market settlement and timing
Multi-Oracle Consensus System: The platform implements a sophisticated data validation system combining FTSOv2's block-latency feeds with FDC's JsonApi attestations. This creates redundancy and accuracy in yield data, with FTSOv2 providing rapid updates and FDC offering external validation through cryptographic proofs.
Frontend Technology Stack: Next.js 15 with TypeScript for modern, performant frontend Wagmi v2 + Viem for Web3 interactions with Flare network Privy for seamless user authentication TailwindCSS for responsive, professional UI design TanStack Query for optimized data fetching and caching
Blockscout Deep Integration: Beyond basic explorer usage, the platform implements comprehensive Blockscout SDK integration with real-time WebSocket connections for transaction monitoring, automatic Merits balance tracking, and transparent transaction history. This creates a gamified experience where users earn Merits for platform participation.
Notable Technical Implementations: Verifiable Randomness: Market duration and settlement timing use Flare's Scaling protocol randomness, making outcomes transparently fair Cost Optimization: Leverages FTSOv2's free querying capability and FDC's efficient Merkle proof validation to minimize operational costs Historical Data Integration: Utilizes FTSOv2's 2-week historical data availability for market confidence metrics and settlement validation Volatility Adaptation: Implements FTSOv2's volatility mechanism to increase data sampling during high-volatility periods
Partner Technology Benefits: Flare FAssets: Provides synthetic asset capabilities without traditional bridging complexity FTSOv2: Offers unprecedented data freshness (1.8s updates) at zero cost FDC: Enables trustless external data integration with cryptographic security Blockscout: Creates transparency and gamification through comprehensive explorer integration