A comprehensive tutorial on building a Stellar smart contract that uses Reflector oracle to create a EUR price prediction market. The guide covers contract initialization, oracle integration, storage patterns, token transfers, and verification logic using Soroban.

This tutorial walks developers through building a euro guesser smart contract on Stellar using Soroban. It demonstrates how to integrate Reflector, Stellar's oracle solution, to fetch real-time EUR price data and enable users to bet on price movements over a 5-minute window. The guide covers essential Soroban concepts including the three storage types (temporary, instance, persistent), struct-based data storage, authentication, token balance checking, XLM transfers, and historical price verification to prevent cheating. By the end, developers will have deployed a functional prediction market contract that leverages oracle data for real-world information.