Skip to content

Seed phrase stuff#690

Merged
Rigidity merged 2 commits into
xch-dev:mainfrom
dkackman:seed-phrase-stuff
Oct 15, 2025
Merged

Seed phrase stuff#690
Rigidity merged 2 commits into
xch-dev:mainfrom
dkackman:seed-phrase-stuff

Conversation

@dkackman

Copy link
Copy Markdown
Collaborator

fix #681 by adding a note on the create and import screens - also add card to these screens
fix #567 clean seed phrase on import

split on anything that isn't [a-zA-Z]

  function cleanKey(key: string) {
    return key
      .trim()
      .replace(/[^a-z]/gi, ' ')
      .split(/\s+/)
      .filter((item) => item.length > 0)
      .join(' ')
      .toLowerCase();
  }

@Rigidity Rigidity merged commit 2c4b4da into xch-dev:main Oct 15, 2025
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Require seed phrase confirmation Make mnemonic import more tolerant to whitespace and casing

2 participants