Brave-browser: Add reset data / delete account option to Crypto Wallets

Created on 20 Aug 2019  路  17Comments  路  Source: brave/brave-browser

Description

Crypto wallets should feature an option to reset all data, or delete accounts. At the moment, there is only a pull request to allow disabling/enabling, but not for resetting or deleting data.

See: https://www.reddit.com/r/brave_browser/comments/cszx7s/how_do_i_delete_my_cryptowallet_settings_and/

Test Plan

(These tests should be followed with the origin wallet being both freshly created and restored)

  1. On the login screen, click Reset Crypto Wallets below the form
  2. Confirm the reset screen renders
  3. Confirm that only by entering the unlock phrase are you allowed to access the reset button
  4. Upon hitting the action, the browser will restart and all Crypto Wallets tabs will close
  5. Confirm navigating to brave://wallet shows a fresh welcome view
  6. Confirm that you can both create and restore a wallet after this point
  7. From both of those points, attempt smoke test of behavior within the account (IE transactions, account restore, backup, re-reset)
ODesktop QYes featurcrypto-wallets prioritP2 release-noteinclude

Most helpful comment

manual workaround is to delete the following folder (under windows):
%profile data%/[Default]\Local Extension Settings\odbfpeeihdkbihmopkbjmoonfanlbfcl
whereas %profile data% is the path to the brave data folder for the currently logged user (in windows) and [Default] is the profile username in Brave

All 17 comments

I think you can add a second account then delete the first.

Maybe a clear all extension state would be nice though.

This will amount to an action in the Advanced settings tab. There definitely should be a confirmatory modal letting the users know that they are essentially going to reset Crypto Wallets to how it was when they first made an account. cc: @tomlowenthal && @jamesmudgett for copy and any extra UX we may need.

Will this work from the password-entry screen? That seems like the most important place to support a reset.

manual workaround is to delete the following folder (under windows):
%profile data%/[Default]\Local Extension Settings\odbfpeeihdkbihmopkbjmoonfanlbfcl
whereas %profile data% is the path to the brave data folder for the currently logged user (in windows) and [Default] is the profile username in Brave

Is there a workaround for macOS too?

manual workaround is to delete the following folder (under windows):
%profile data%/[Default]\Local Extension Settings\odbfpeeihdkbihmopkbjmoonfanlbfcl
whereas %profile data% is the path to the brave data folder for the currently logged user (in windows) and [Default] is the profile username in Brave

to remove wallet from command line.

cd %localappdata%BraveSoftwareBrave-Browser\User Data\Default\Local Extension Settings
rmdir /Q /S odbfpeeihdkbihmopkbjmoonfanlbfcl

manual workaround is to delete the following folder (under windows):
%profile data%/[Default]\Local Extension Settings\odbfpeeihdkbihmopkbjmoonfanlbfcl
whereas %profile data% is the path to the brave data folder for the currently logged user (in windows) and [Default] is the profile username in Brave

After deleting, Im getting an error KeyringController - No account found on keychain reset when creating a new local wallet. Any way to reset this?

After deleting, Im getting an error KeyringController - No account found on keychain reset when creating a new local wallet. Any way to reset this?

I have the same problem and the same error.
Is there a way to delete/restart "Crypto Wallets" in Brave?

@jaclas, @thechadc I tried to reproduce your issue but failed. Here is what I do:

  1. Download portable brave (I do not want to mess my existing install) from https://portapps.io/app/brave-portable/
  2. Start and initialize wallet.
  3. Shutdown Brave
  4. Execute steps in the above post for the workaround
  5. Restart Brave - wallet can be re-initialized.

This works consistently under Windows on different machines. Do not have time to test under Linux but should work similarly.

@dbarev
The portable version of brave doesn't have a directory:

BraveSoftwareBrave-Browser\User Data\Default\Local Extension Settings\odbfpeeihdkbihmopkbjmoonfanlbfcl

but only:

BravePortable\data\odbfpeeihdkbihmopkbjmoonfanlbfcl

which is different from the directory specified in the solution.

Try with fully installed Brave Browser and correct directory.

I just remove ~/Library/Application Support/BraveSoftware/Brave-Browser/Default/Local Extension Settings/odbfpeeihdkbihmopkbjmoonfanlbfcl at Mac.
The wallet can be re-initialized.
Please backup before remove.

update:
getting an error KeyringController - No account found on keychain.

Is there a workaround for macOS too?

rm -r ~/Library/Application\ Support/BraveSoftware/Brave-Browser/odbfpeeihdkbihmopkbjmoonfanlbfcl/

Moving to 1.0.18 as per triage discussion

Anyway to reset crypto wallets now? _(used default but now want to import)_

I see it now. I just had to lock my account and where you would enter your password there is a link to import from seed.

After deleting, Im getting an error KeyringController - No account found on keychain reset when creating a new local wallet. Any way to reset this?

I have the same problem and the same error.
Is there a way to delete/restart "Crypto Wallets" in Brave?

I created my wallet with a random password that I thought I've sa.ved but I didn't, now I want to create a new one from scratch, but I can't.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexCombas picture AlexCombas  路  3Comments

bbondy picture bbondy  路  3Comments

kjozwiak picture kjozwiak  路  3Comments

jonathansampson picture jonathansampson  路  3Comments

fmarier picture fmarier  路  3Comments