-
Notifications
You must be signed in to change notification settings - Fork 106
30. Balance card #458
Copy link
Copy link
Open
Labels
Stellar WaveDrips Wave program issueDrips Wave program issuecomplexity:mediumDrips: Medium — 150 ptsDrips: Medium — 150 ptsepic:dashboardDashboardDashboardmobileVeil mobile appVeil mobile app
Description
Metadata
Metadata
Assignees
Labels
Stellar WaveDrips Wave program issueDrips Wave program issuecomplexity:mediumDrips: Medium — 150 ptsDrips: Medium — 150 ptsepic:dashboardDashboardDashboardmobileVeil mobile appVeil mobile app
Goal: Show the user their primary balance the moment they open the app — native XLM
plus its fiat value fetched from the Lens price oracle. This is the most-looked-at element
in the product, so it must load quickly and degrade gracefully when the price feed is
unavailable.
Create:
frontend/mobile/components/BalanceCard.tsx,frontend/mobile/lib/fetchPrice.ts.Port/reference:
frontend/wallet/lib/fetchPrice.ts(fetchPrices, LensNEXT_PUBLIC_LENS_URL), balance query indashboard/page.tsx.Acceptance: shows XLM balance + USD via Lens; handles price-fetch failure.
From
issues.md(backlog item 30). Cross-refs like "backlog #N" point to other items in that file.