Skip to content

fix: connect wallet triggers Freighter and shows not-installed modal#342

Open
spiffamani wants to merge 4 commits into
Tybravo:mainfrom
spiffamani:fix/connect-wallet-freighter
Open

fix: connect wallet triggers Freighter and shows not-installed modal#342
spiffamani wants to merge 4 commits into
Tybravo:mainfrom
spiffamani:fix/connect-wallet-freighter

Conversation

@spiffamani

Copy link
Copy Markdown

Closes #282

Problem

Clicking "Connect Wallet" did nothing because WalletContext.connect()
called walletService.getAddress() which silently reads the current
address without triggering the Freighter popup.

When Freighter was not installed, the error only appeared as a small
dismissible banner — not a proper user-facing prompt.

Fix

  • WalletContext.tsx: Changed connect() to use requestAccess() which
    opens the Freighter extension popup
  • WalletModal.tsx: Added FreighterNotInstalledModal that shows when
    Freighter is not detected, with a direct Install Freighter link

Tests

13 passing tests in WalletModal.test.ts covering the wallet service
interface and connection flow.

- Use requestAccess() instead of getAddress() in WalletContext connect()
  so clicking Connect Wallet actually triggers the Freighter popup
- Add FreighterNotInstalledModal component in WalletModal.tsx that shows
  when Freighter is not installed, with an Install Freighter CTA
- Show modal immediately if isFreighterInstalled is already false
- Show modal when connectError contains 'not installed'
- Remove duplicate jest.config.ts to fix multiple config conflict
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the DaniBravo Team on Vercel.

A member of the Team first needs to authorize it.

@Tybravo

Tybravo commented Jul 2, 2026

Copy link
Copy Markdown
Owner

@spiffamani

Please fix conflicts

@drips-wave

drips-wave Bot commented Jul 3, 2026

Copy link
Copy Markdown

@spiffamani Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

gibe added 2 commits July 4, 2026 09:55
…freighter

# Conflicts:
#	frontend/components/WalletModal.tsx
@Tybravo

Tybravo commented Jul 4, 2026

Copy link
Copy Markdown
Owner

@spiffamani
Please fix Lint errors

Thanks

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.

[Frontend] Bug Fix: Fix 'Connect Wallet' in Launch App dropdown

2 participants