Skip to content

Conversation

@hyphenized
Copy link
Collaborator

@hyphenized hyphenized commented Sep 26, 2025

Introduces "DisplayCurrency" which stores a user selected currency to use as reference for displaying and formatting balances and values across the wallet, e.g. fiat currencies or assets (e.g. BTC).

image

Testing env

SUPPORT_MULTIPLE_CURRENCIES=true

Latest build: extension-builds-3822 (as of Wed, 08 Oct 2025 00:05:49 GMT).

Introduces "DisplayCurrency" which stores a user selected currency to
use as reference for displaying and formatting balances and values
across the wallet, e.g. fiat currencies or assets (e.g. BTC).
@hyphenized hyphenized self-assigned this Sep 26, 2025
@mhluongo
Copy link
Contributor

I'm working on some related stuff (locale-specific currency formatting, etc) over in thesis/cent if any of that is helpful @hyphenized!

@hyphenized
Copy link
Collaborator Author

I'm working on some related stuff (locale-specific currency formatting, etc) over in thesis/cent if any of that is helpful @hyphenized!

Yes, this definitely looks like it'll come in handy! I'm currently testing around moving back to price points but this makes a lot of things simpler, thanks @mhluongo!

Removes "convertUSDAmountToCurrency" in favor of converting asset price
points into the user currency before formatting. cent is mostly
providing currency metadata for now.
This adds a few contract addresses for EUR/AUD/JPY rates which should be good
for testing. Also added a dropdown on the settings page to test switching
between currencies that is yet to be wrapped under a feature flag.
@hyphenized hyphenized marked this pull request as ready for review October 8, 2025 00:05
@hyphenized hyphenized requested a review from a team as a code owner October 8, 2025 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants