Skip to content

Create wallet: validate wallet name availability before continuing #18

Description

@johnny9

Code Gap

The QML create-wallet flow accepts any syntactically valid wallet name and only surfaces duplicate-name failures after the user continues through the flow and attempts wallet creation.

Qt prevents or reports invalid create-wallet options before the expensive create step. For Preview, the QML flow should not let users invest in the password/confirmation path when the wallet name is already unavailable.

Work Needed

  • Check the wallet name against discovered wallet directory entries before leaving the name step.
  • Also account for already-loaded wallets.
  • Surface duplicate or unavailable wallet-name errors on the name page.
  • Apply the same name availability behavior to external-signer wallet creation.
  • Add coverage for available name, duplicate closed wallet, duplicate loaded wallet, and invalid name.

Priority

Preview / P1 correctness bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv1.0Required or tracked for v1.0 releasewallet

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions