Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Round up tx fees for better UX #365

Open
olanod opened this issue Apr 17, 2024 · 0 comments
Open

Round up tx fees for better UX #365

olanod opened this issue Apr 17, 2024 · 0 comments

Comments

@olanod
Copy link
Member

olanod commented Apr 17, 2024

Balances like 0.999999912345 are quite ugly and after certain number of decimals users don't usually care if the fee is 0.000001 or 0.00001 more expensive. We should have a minimum fee that is quite cheap and also used for rounding things up.

This rounding can be based on the existential deposit(e.g. ED/10) but first I would suggest to also adjust the ED to something rounder. It's currently configured to be 1/10th the ED of Kusama which is based on the const QUID: Balance = UNITS / 30. I propose our new ED to go form 0.000033333333 to 0.000100000000(even higher?) and the rounding factor/minimum fee to be 1/10th of that(0.000010000000). For other assets we can follow a similar strategy based on their minimum balance.

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

No branches or pull requests

1 participant