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

Swap GLMR x-chain fees from payment currency #119

Open
mrq1911 opened this issue May 6, 2024 · 0 comments
Open

Swap GLMR x-chain fees from payment currency #119

mrq1911 opened this issue May 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mrq1911
Copy link
Member

mrq1911 commented May 6, 2024

Currently wormhole transfers from HydraDX through Moonbeam, we require users to have some 0.1 GLMR in their HydraDX wallet only so we can transfer it to Moonbeam and pay for transact 0.07 GLMR (0.03 is margin) with it.

We should add a swap of this 0.1 GLMR from wallet payment currency into the batch so the user doesn't have to do it manually and that we don't spend their GLMR from the wallet unexpectedly.

Bonus: we can check the balance of their MDA and if it is already more than 0.1 GLMR we don't have to perform transfer at all as they have gathered enough GLMR from fee margins.

@nohaapav nohaapav added the enhancement New feature or request label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants