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

In Wallet, Implement a Simple Burn Feature #19

Open
newbreedofgeek opened this issue Aug 24, 2023 · 0 comments
Open

In Wallet, Implement a Simple Burn Feature #19

newbreedofgeek opened this issue Aug 24, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@newbreedofgeek
Copy link
Member

Like the ""burn"" feature we have on datadex.itheum.io in the wallet section, a user can "burn" a Data NFT they own.

  • In wallet view, have a burn button. Check the wallet on datadex.itheum.io for design
image
  • When the user clicks that, we need a confirmation popup "Are you sure you want to burn this?" - Check the wallet on datadex.itheum.io for design idea for the popop. But iplike that one which allows you to pick how much supply you want to burn as MultiversX supports multiple suppy... in the EVM app, we dont need this... we just ask them "Are you sure you want to burn this?".

You can also follow the same design as :
image

  • When they confirm, then "burn" the data NFT. Show a progress model for the TX... i'm not 100% sure how we can "burn" on the EVM blockchain, I think it may be as simple as sending a TX to the 0x or null address? you need to do some research

  • If the TX is a fail, then show an error message on the popup (like in above design which shows error messages)

  • if the TX is a success, then close the popup and refresh the wallet items so that the burned item goes away

@newbreedofgeek newbreedofgeek added the enhancement New feature or request label Aug 24, 2023
@newbreedofgeek newbreedofgeek added this to the Future Work milestone Aug 24, 2023
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

1 participant