Background
The Veil dashboard shows token balances but no fiat-equivalent values. The Lens price oracle is already deployed and integrated into the AI agent — but the wallet UI doesn't use it. Users have no way to see what their portfolio is worth in USD/USDC without leaving the app.
What to build
Display a live price (in USDC) next to each token balance on the dashboard and token pages, using the Lens GET /price endpoint.
Key files
frontend/wallet/app/dashboard/page.tsx — token balance row to enhance
frontend/wallet/app/token/[code]/page.tsx — token detail page
frontend/wallet/lib/fetchPrice.ts — create this helper
Suggested execution
git checkout -b feature/dashboard-live-prices
- Create
frontend/wallet/lib/fetchPrice.ts — calls GET https://lens-ldtu.onrender.com/price/{assetA}/{assetB} with x402 payment header
- On dashboard, after balances load, fire parallel price requests for each token
- Display price as a small muted text beside each balance (e.g. "120 XLM · $14.40")
- Handle: Lens timeout (show dash), unknown token (no price shown)
- Price fetches must not reset the inactivity timer
Example commit message:
feat(wallet): display live Lens prices alongside token balances on dashboard
Acceptance criteria
Drips Wave · Complexity: Medium · 150 points
Comment below to request assignment. PR must include Closes #[this issue].
Background
The Veil dashboard shows token balances but no fiat-equivalent values. The Lens price oracle is already deployed and integrated into the AI agent — but the wallet UI doesn't use it. Users have no way to see what their portfolio is worth in USD/USDC without leaving the app.
What to build
Display a live price (in USDC) next to each token balance on the dashboard and token pages, using the Lens
GET /priceendpoint.Key files
frontend/wallet/app/dashboard/page.tsx— token balance row to enhancefrontend/wallet/app/token/[code]/page.tsx— token detail pagefrontend/wallet/lib/fetchPrice.ts— create this helperSuggested execution
frontend/wallet/lib/fetchPrice.ts— callsGET https://lens-ldtu.onrender.com/price/{assetA}/{assetB}with x402 payment headerExample commit message:
feat(wallet): display live Lens prices alongside token balances on dashboardAcceptance criteria