This is a more incremental version of #67.
Just a basic ability to clear + re-create a vault, instead of uninstalling/reinstalling the extension.
Put a "delete vault" button in the config view. Get confirmation UI from private key export, make reusable component, use it in same place.
Closing in favor of #172
I'm finding I would really love this feature. The vault I have right now is only for testing, and now I need to use metamask for real transactions. The testing mnemonic has been compromised. Would love to delete and start over.
Agreed with @tcoulter.
Maybe by adding a setting to switch between developer/user modes, and only show the delete button in developer mode to keep it simpler for regular users?
In the meantime, you can delete the files manually in ~/.config/google-chrome/${profile}/Local Storage.
Look for files with the extension's ID in the name: nkbihfbeogaeaoehlefnkodbefgpgknn
Should be:
chrome-extension_nkbihfbeogaeaoehlefnkodbefgpgknn_0.localstorage
chrome-extension_nkbihfbeogaeaoehlefnkodbefgpgknn_0.localstorage-journal
Open Chrome again, and you will be able to setup a new vault...
On Windows, the files should be in ${drive}:\Users\${accountName}\AppData\Local\Google\Chrome\User Data\Profile ${profileNum}\Local Storage\
I didn't find the files at the specified path in mac, but I managed to reset my account by uninstalling the extension and re-installing it. It will start over, ask for a new pass, etc...
Most helpful comment
I'm finding I would really love this feature. The vault I have right now is only for testing, and now I need to use metamask for real transactions. The testing mnemonic has been compromised. Would love to delete and start over.