Open chaserene opened 3 years ago
The biggest problem with this will be the wallet having to call a 3rd party remote API to get the current exchange rates. That will degrade user privacy because it is unexpected behavior by the user.
@jarjarfan666 from my opening comment:
the wallet already has fiat display integrations.
it already does it if the feature is turned on in the settings. my proposal doesn't introduce any potential behavior that degrades privacy. if anything, it improves privacy, because people will be less prone to go to an online currency converter and give their IP, user agent and transaction amount to a website.
to make the GUI wallet fit for everyday use, it would be very useful to be able to define amount(s) in a transaction in fiat.
currently if you want to send XMR that's worth a certain amount of dollars around the time of sending, the most intuitive way is to grab the current price from a website, make a calculation in a calculator, and paste the result. this is a lot of unnecessary overhead given that the wallet already has fiat display integrations.
making this possible presents some UI and app-level challenges, but I don't think these are insurmountable.
one way to enable this is to let users switch between XMR and fiat on the Send tab. currently the Amount field accepts input in XMR and the sum of the transaction is displayed in fiat (non-editable) at the bottom.
see some of my preliminary sketches below. input is welcome.