Tutorial on building a lending protocol smart contract on Soroban using Reflector Oracle to verify collateral values and access real-time price data from on-chain sources.
This technical tutorial demonstrates how to build a decentralized lending platform on Soroban using Reflector Oracle for price feeds. The creator walks through scaffolding a Rust project, cloning the Reflector codebase, generating WASM snapshots for testing, and implementing cross-contract calls. Key topics include setting up oracle configuration during contract initialization, using Reflector to verify collateral values against a 150% threshold, and retrieving price data for loan verification. The tutorial covers protocol version considerations between mainnet and testnet, proper snapshot file placement, and includes working code examples with test execution.