Skip to content

useExchangeRate hook returns a hardcoded mock price instead of a live rate #2

Description

@abayomicornelius

src/hooks/useExchangeRate.ts always resolves { xlmUsd: 0.12 } via setTimeout, regardless of real market conditions — there is no actual API call. This directly contradicts the README's "Live exchange quotes" feature claim and the CHANGELOG's "Exchange rate display" entry, meaning the price badge shown throughout the UI is permanently stale/wrong.

Wire this up to a real price feed (CoinGecko, backend /quotes endpoint, or Horizon-based DEX pricing) or clearly label it as a placeholder until implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions