Skip to content

Add a multi-wallet connect modal supporting Freighter, Albedo, and xBull wallets #848

Description

@Chucks1093

Summary

The connect wallet flow only supports a single wallet type. A multi-wallet modal that presents Freighter, Albedo, and xBull as selectable options and handles the different connection flows for each would open the app to a broader user base.

Scope

  • Replace the single connect button with a modal listing Freighter, Albedo, and xBull as options with logos
  • Detect which wallets are installed and mark undetected ones as 'Install' with a link to the extension
  • Handle each wallet's distinct connection and signing API within the same auth challenge-verify flow
  • Store the connected wallet type in localStorage so the same wallet reconnects on page reload
  • Show a 'Change wallet' option in the connected wallet menu to switch between wallet types

Acceptance Criteria

  • All three wallet options shown in the connect modal
  • Undetected wallets show an Install link
  • Correct connection API used per wallet type
  • Connected wallet type persisted in localStorage
  • Change wallet option reconnects using the selected wallet type

ETA: 12 hours


Coordinate on Telegram

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions