Lumen Loop
All media
VideoYouTubeKoxy 👩‍💻December 16, 20241y ago13:00

Build With Soroban: Reflector Oracle

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.

SorobanOraclesSmart Contracts
Lumen Loop's take

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.

Mentioned projects
1 project linked
R
ReflectorInfrastructure & Services
SCFAudited
OracleMulti Signatures

Decentralized price feed oracle for Stellar DeFi smart contracts to support derivatives, lending, and asset management.

View →