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

web-wallet: Allow Partial Unstake #3009

Open
nortonandreev opened this issue Nov 18, 2024 · 1 comment · May be fixed by #3092
Open

web-wallet: Allow Partial Unstake #3009

nortonandreev opened this issue Nov 18, 2024 · 1 comment · May be fixed by #3092
Assignees
Labels
module:web-wallet Issues related to web-wallet module type:enhancement Issues concerning code or feature improvement (performance, refactoring, etc)

Comments

@nortonandreev
Copy link
Contributor

Description

Currently, the unstake flow only allows users to unstake the full amount of their staked balance. This limitation exists because the dusk-wallet-js library previously did not support specifying an unstake amount.

With the updated capabilities of w3sper, we can now enhance the unstake flow to allow users to specify the amount they wish to unstake, providing more flexibility.

Proposed Solution

  • Update the unstake flow to include an input field or slider for users to specify the amount they want to unstake.
  • Validate the input to ensure it falls within the allowable range (greater than 0 and less than or equal to the staked amount).
  • Adjust the backend integration with w3sper to process the specified unstake amount.
  • Update the UI to reflect the changes and provide feedback for partial unstaking

Impact

  • User Experience: Enhances the flexibility of the unstake process, allowing users to better manage their staked assets.
  • Adoption: Encourages users to interact more frequently with staking by offering customizable options.
@nortonandreev nortonandreev added module:web-wallet Issues related to web-wallet module type:enhancement Issues concerning code or feature improvement (performance, refactoring, etc) labels Nov 18, 2024
@nortonandreev nortonandreev self-assigned this Nov 20, 2024
@nortonandreev nortonandreev changed the title web-wallet: Enhance Unstake Flow to Allow Partial Unstake Amounts web-wallet: Allow Partial Unstake Nov 29, 2024
@nortonandreev
Copy link
Contributor Author

Waiting on w3sper to add support for partial unstake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:web-wallet Issues related to web-wallet module type:enhancement Issues concerning code or feature improvement (performance, refactoring, etc)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant