matter-labs / zksync-era

zkSync era
Apache License 2.0
3.08k stars 2.04k forks source link

Transparency regarding payment when using Paymaster | Include price #1394

Open mgsgop opened 4 months ago

mgsgop commented 4 months ago

🌟 Feature Request

Adding : actual number of tokens I need to pay and the corresponding amount converted into fiat currency.

📝 Description

When using the Paymaster feature for payment, many DeFi projects allow me to choose specific payment tokens and discount information. But during the transaction confirmation step, I cannot see the actual number of tokens I need to pay and the corresponding amount converted into fiat currency.

This lack of transparency makes it difficult to understand the true cost of the transaction, especially when considering potential gas fee fluctuations and discount calculations.

🤔 Rationale

Improved User Experience (UX): Displaying the token amount and fiat conversion would provide greater clarity to users regarding transaction costs. Users would be able to see exactly how many tokens they are paying and the corresponding fiat value, allowing them to make informed decisions before confirming the transaction.

Increased Adoption of Paymaster: Transparency around costs can attract more users to the Paymaster feature. Users are more likely to adopt a payment method if they can clearly understand the associated fees and potential savings from discounts.

Empowered Users: By displaying the token amount and fiat conversion, users can compare costs associated with different payment tokens and choose the most cost-effective option for their transaction.

alkindivv commented 3 months ago

try using Rainbow wallet instead

EmilLuta commented 3 months ago

cc: @vladbochok