Skip to content

fix(wallet): connect xBull/Albedo/Rabet/Hana without Freighter hang#277

Merged
Kingvic300 merged 1 commit into
Txio-labs:mainfrom
naninu123:feat/247-stellar-wallet-connect
Jul 26, 2026
Merged

fix(wallet): connect xBull/Albedo/Rabet/Hana without Freighter hang#277
Kingvic300 merged 1 commit into
Txio-labs:mainfrom
naninu123:feat/247-stellar-wallet-connect

Conversation

@naninu123

Copy link
Copy Markdown
Contributor

Summary

Fixes #247 — clicking Connect on xBull / Albedo / Rabet / Hana no longer falls through to Freighter's requestAccess() and hang on "CONNECTING...".

  • Per-wallet branches in connectStellarWallet + restoreStellarWallet
  • Uses each extension's own injected API (window.xBullSDK, window.albedo, window.rabet, window.hana)
  • 30s timeout so a missing/stuck popup fails fast instead of spinning forever
  • Proper wallet name/connector metadata for all six Stellar wallets

Test plan

  • npx vitest run src/wallet/stellar.test.ts (7/7)
  • Manual: install xBull → Connect → public key returned (not Freighter hang)
  • Manual: Albedo / Rabet / Hana same path
  • Manual: missing extension → explicit error, button recovers

Closes #247

Per-wallet branches in connectStellarWallet/restoreStellarWallet use each
extension's own API instead of falling through to Freighter requestAccess.
Add a 30s timeout so a missing/stuck popup fails fast. Closes Txio-labs#247.
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

@naninu123 is attempting to deploy a commit to the oladimejivictor611-5012's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Kingvic300
Kingvic300 merged commit 81b3b25 into Txio-labs:main Jul 26, 2026
7 of 11 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.

Stellar wallet connect hangs forever for xBull/Albedo/Rabet/Hana — silently calls Freighter's API instead

2 participants