Lumen Loop
All media
VideoYouTubeStellarExpertDecember 9, 20241y ago55:58

Reflector - Live coding session with Kalepail

Developer walkthrough of Reflector price oracle for Stellar DeFi, covering boilerplate setup, testing with ledger snapshots, and building a predictive market contract using oracle data.

SorobanDevelopersDeFi
Lumen Loop's take

This session covers building on Reflector, a price oracle for Stellar DeFi. The speaker demonstrates a boilerplate project for developers entering the Reflector dev contest, highlighting key patterns: importing clean contract interfaces for cross-contract calls, using ledger snapshots to test against mainnet data, and avoiding naming conflicts with export flags. The speaker then showcases a predictive market contract built on Reflector that lets users bet on asset price movements over defined periods, with stake amplification based on timing. Discussion includes oracle design principles, time-weighted average pricing, and theoretical high-throughput trading models using Soroban in serverless environments.

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 →