Skip to content

Add Keystone wallet connection option post-onboarding #456

@MoonBoi9001

Description

@MoonBoi9001

Problem

Users can connect a Keystone wallet during the onboarding process by selecting:

  • Access Existing WalletAdd using KeystoneSelect your device

However, after the wallet is set up, there is no way to connect a Keystone wallet retroactively. When users click the "Add Account or Connect Wallet" button in the account management screen, the dropdown menu does not include a Keystone option.

Currently, the menu includes:

  • Import Private Key
  • Connect using Wallet Connect
  • Import Recovery Phrase
  • Import Ledger Wallet
  • Import Keystore File
  • Create New Account

The only workaround is to remove and reinstall the extension, then select Keystone during "onboarding".

Expected Behavior

Users should be able to connect a Keystone wallet post-onboarding through the "Add Account or Connect Wallet" menu, similar to how Ledger wallet connection is supported.

Proposed Solution

Add a "Connect Keystone Wallet" option to the account management dropdown menu in apps/legacy/src/pages/Accounts/components/AccountsActionButton.tsx (and the equivalent in the next app), gated by the appropriate feature flags (FeatureGates.KEYSTONE or FeatureGates.KEYSTONE_3).

The option should:

  • Use the KeystoneIcon component
  • Navigate to the appropriate Keystone connection flow (USB or QR-based, depending on feature flags)
  • Follow the same pattern as the existing "Import Ledger Wallet" option (lines 318-349)

Code References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions