perawallet / pera-wallet

Source code for Pera Wallet, simply the best Algorand wallet.
https://perawallet.app
Other
178 stars 62 forks source link

Allow to close account (send max) #76

Closed 2i2i closed 11 months ago

2i2i commented 2 years ago

Currently, the 'MAX' button actually fills in the full amount, but 'Next' then gives an error. User should be able to send ALL, thereby closing the account (assuming no opt-ins etc.)

spencercap commented 2 years ago

yes, Send Max doesnt work as expected. it should remove 0.001algo from the computed total so the txn can run.

2i2i commented 2 years ago

yes, Send Max doesnt work as expected. it should remove 0.001algo from the computed total so the txn can run.

Actually it needs to deduct an amount depending on the smart contracts and ASAs that the account is opt-ed into.

Additionally, one needs to be able to close the account (close-up), which opts-out of all SCs and ASAs and then sends all minus the txn fee to the target.

taylanpince commented 2 years ago

Thank you, we are actively working on resolving this.

yigitguler commented 11 months ago

The fix is live.