Skip to content

Implement subscription smart contract oracle integration for price feeds #370

@Smartdevs17

Description

@Smartdevs17

Description

Integrate on-chain price oracles for subscription pricing in stablecoins or volatile tokens, ensuring fair market-rate conversions at billing time.

Acceptance Criteria

  • Oracle price feed integration (Stellar DEX, Band Protocol)
  • Price lookup at billing execution time
  • Slippage protection with max/min price bounds
  • Oracle health monitoring with fallback
  • Gas-efficient oracle calls (cached with TTL)
  • Subscription price in fiat equivalent display

Technical Scope

  • contracts/subscription/src/lib.rs
  • contracts/oracle/
  • backend/services/
  • Edge: oracle staleness during volatility, price manipulation at billing boundary

Metadata

Metadata

Assignees

Labels

200-points200 point issueStellar WaveIssues in the Stellar wave programdrips-waveIssues in the Drips Wave programhighHigh complexity issue

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions