MetaMask / MetaMask/metamask-extension

Allow removing HD accounts

Open
#5,078 9 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-UI type-discussion type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

From https://github.com/MetaMask/metamask-extension/issues/2028

I propose being able to delete seed phrase accounts as well (=accounts which were generated with "Create account").

For this, we have to decide what happens when someone creates an account after deleting one. The simple and safe option is that the previously deleted account becomes regenerated. It probably won't do what some people (including me) want it to do, but it's still better than not being able to delete organic accounts.

There could be another option for organic accounts, "archiving", which would remove them from the account list, but they would stay reachable in a segregated section.

I'm not sure about the added utility this would add compared to the UI complexity it introduces, especially for new users. Possibly a good candidate for a "dev mode" feature flag. Leaving here to gauge interest.

Removing loose accounts is already a feature in the new UI.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked issue #2028 and the notes about removing loose accounts in the new UI. Clarify whether HD or seed-phrase accounts should be deleted or archived, how regeneration should work, and whether this belongs behind a developer-mode feature flag. Done requires an agreed behavior and corresponding account-management UI work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.