Skip to content

Add pre-confirmation trade fee estimate - #390

Merged
Chucks1093 merged 2 commits into
accesslayerorg:mainfrom
T-kesh:issue-382-fee-estimate-helper
May 31, 2026
Merged

Add pre-confirmation trade fee estimate#390
Chucks1093 merged 2 commits into
accesslayerorg:mainfrom
T-kesh:issue-382-fee-estimate-helper

Conversation

@T-kesh

@T-kesh T-kesh commented May 31, 2026

Copy link
Copy Markdown
Contributor

Adds a pre-confirmation network fee estimate to the trade dialog so users can see an approximate cost before confirming a buy or sell. The trade flow now fetches live fee data through the ethers provider, formats the estimate with an explicit “Approx. network fee” label, and falls back to a clear “Cannot estimate network fee” message when fee data cannot be fetched. Focused dialog tests were added for both the successful estimate and failure states. Tests were not run locally because dependency installation failed earlier due to ERR_PNPM_ENOSPC disk space exhaustion.
closes #382

@drips-wave

drips-wave Bot commented May 31, 2026

Copy link
Copy Markdown

@T-kesh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit 32db74e into accesslayerorg:main May 31, 2026
1 check passed
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.

Add helper for displaying network fee estimate before trade confirmation

2 participants