From ca771f51d56287bcc23b1a2c875cf1bdab6318ae Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sun, 16 Aug 2026 00:09:23 -0400 Subject: [PATCH] prices: non-USD fiat display works now; update endpoint comment Server-side forex (ECB daily reference rates) shipped in hash-wallet-prices; the wallet needed no code change. Comment updated so the file stops claiming USD-only. --- lib/core/fiat_conversion_service.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/core/fiat_conversion_service.dart b/lib/core/fiat_conversion_service.dart index 30f297601..13c1d7741 100644 --- a/lib/core/fiat_conversion_service.dart +++ b/lib/core/fiat_conversion_service.dart @@ -4,12 +4,12 @@ import 'package:hash_wallet/entities/fiat_currency.dart'; import 'dart:convert'; // Hash Bags price endpoint. Backed by the Cloudflare Worker in -// github.com/Such-Software/hash-wallet-prices — Kraken for majors, NonKYC for -// WOW, KV-cached every 60s. +// github.com/Such-Software/hash-wallet-prices: Kraken for majors, Nonlogs + +// volume-weighted CexSwap for WOW, KV-cached every 60s. // -// USD-only. The wallet still lets the user pick other fiats from the UI, but -// non-USD requests will return price=0 until forex conversion is added on the -// server side. +// Non-USD fiats are converted server-side through ECB daily reference rates +// (since 2026-08-16). An unknown quote currency returns price=0 and the UI +// shows the existing "price unavailable" fallback. // // TODO: add a .onion mirror once we deploy a Tor hidden service and update // _fiatApiOnionAuthority — Tor users currently fall back to clearnet.