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

Support Max staking amount #682

Open
jrwbabylonlab opened this issue Feb 10, 2025 · 0 comments
Open

Support Max staking amount #682

jrwbabylonlab opened this issue Feb 10, 2025 · 0 comments
Assignees

Comments

@jrwbabylonlab
Copy link
Collaborator

In the Figma design, we aim to support a feature where users can click “Max” to stake the maximum amount possible.

The main challenge to address is the chicken-and-egg problem between the max staking amount and the fee. Specifically, the max staking amount + fee should equal the user’s total stakable balance. However, the fee is determined based on the staking amount, as it affects how many UTXOs are used, which in turn impacts the fee calculation.

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

2 participants