mobilecoinofficial / desktop-wallet

A user-friendly desktop wallet.
Other
41 stars 10 forks source link

Add burning to desktop wallet #287

Closed Shramp closed 2 years ago

Shramp commented 2 years ago

When on the send/receive page, a secret konami code keyboard shortcute (cntrl + shift + b + n) brings up a popup asking whether you want to enable burning

Screen Shot 2022-11-30 at 11 54 20 AM

if you click enable burning, then a new tab is added to the page: burn

burning is not available for MOB

Screen Shot 2022-11-30 at 11 39 51 AM

A burn takes two inputs from the user: amount and memo. The memo is a 128 character string

Screen Shot 2022-11-30 at 11 57 01 AM

Clicking on build burn transaction will get FS to build then transaction, then DW will open a popup for confirmation:

Screen Shot 2022-11-30 at 11 58 14 AM

Clicking Confirm Burn will submit the burn transaction, sending your eUSD into the abyss, never to be seen again.

A follow-up PR will add support for building and submitting unsigned transactions using view-only accounts