
Just shipped my submission for the @TXODDSOfficial TxLINE World Cup hackathon 🏆 A fully trustless prediction market on @solana where match settlement isn't decided by an admin it's cryptographically verified on-chain via TxLINE's oracle. Here's how it went 🧵= The idea: users stake $SOL on Home/Draw/Away for World Cup 2026 matches. But instead of trusting a bot to type in the final score, my smart contract does a Cross-Program Invocation straight into TxLINE's validate_stat instruction to verify it with a Merkle proof. No admin needed. The moment it actually worked was unreal: Called settle_market() with real Merkle proof data from a finished USA vs Bosnia match (2-0)... and my program verified the result ON-CHAIN via CPI, correctly resolved "Home wins", and let me claim payout. No manual input. Just math + proofs. Then built a full web app on top: - Live World Cup fixtures pulled straight from TxLINE - Wallet connect (Phantom) - Real bookmaker odds shown as reference - Prediction + claim flow Went from CLI scripts to an actual usable product. 🔗 Live app: …26-prediction-market-three.vercel.app 🔗 Code: github.com/onad1ocrypto/w… ⚠️ This runs on Solana Devnet if you want to try it yourself, switch your wallet's network to Devnet first (Phantom → Settings → Developer Settings → Testnet Mode → Devnet). Built with Anchor/Rust + React, settled trustlessly via @TXODDSOfficial TxLINE oracle.




















