Skip to content

Add Universal Stellar Wallet Connect Support #20

@chiscookeke11

Description

@chiscookeke11

Description

We need to implement a Wallet Connect button that supports connection to multiple Stellar wallets, including:

  • Freighter
  • Lobstr
  • Albedo
  • Any compatible Stellar wallet

The goal is to provide a flexible and future-proof wallet connection system that works across the Stellar ecosystem.

Expected Behavior

  • A visible "Connect Wallet" button in the UI (e.g., header/navigation)
  • Users can choose their preferred Stellar wallet
  • Successful connection displays the wallet public address (shortened format)
  • Users can disconnect their wallet
  • Graceful handling of connection errors or rejected requests
  • Fallback handling if a specific wallet is not installed

Scope

  • Implement wallet connection abstraction layer
  • Support:
    • Freighter browser extension
    • Lobstr wallet (via WalletConnect / deep link if applicable)
    • Albedo web wallet
  • Maintain connection state globally (context/store)
  • Ensure secure signing flow
  • Provide loading and error states

Technical Considerations

  • Use Stellar SDK for transaction handling
  • Use wallet detection strategy (check injected providers)
  • Implement adapter pattern to support multiple wallet providers
  • Keep wallet logic modular and extensible for future wallets

Acceptance Criteria

  • "Connect Wallet" button is implemented and visible
  • Users can connect using Freighter
  • Users can connect using Lobstr
  • Users can connect using Albedo
  • Public key is retrieved and displayed correctly
  • Users can disconnect their wallet
  • Errors are handled cleanly
  • Implementation is extensible for additional Stellar wallets
  • No regression in existing UI or functionality

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions