Skip to content

feat: integrate Freighter wallet connection (Stellar)#440

Merged
Akshola00 merged 2 commits intoWeb3Novalabs:mainfrom
olawaleakanbi035-maker:walee
Apr 27, 2026
Merged

feat: integrate Freighter wallet connection (Stellar)#440
Akshola00 merged 2 commits intoWeb3Novalabs:mainfrom
olawaleakanbi035-maker:walee

Conversation

@olawaleakanbi035-maker
Copy link
Copy Markdown
Contributor

closes #386

feat: Setup wallet connection integration (Stellar/Freighter)

Integrates Freighter wallet connectivity to enable users to connect their Stellar wallets for
donations and pool management.

Changes

  • Installed @stellar/freighter-api and zustand dependencies
  • app/stellar-wallets-kit.ts — Freighter adapter (getPublicKey, connect, disconnect)
  • lib/stellar.ts — fetches XLM and USDC balances from Horizon
  • components/ConnectWallet.tsx — connect/disconnect button with balance dropdown, error
    handling, and ARIA labels
  • components/Navbar.tsx — added ConnectWallet to the header

Behaviour

  • "Connect Wallet" button prompts Freighter's requestAccess flow
  • Connected state shows shortened address, green indicator, and XLM/USDC balances
  • Wallet address persists across page refreshes via zustand persist middleware
  • Graceful error message if Freighter is not installed

Testing

  • next build passes with no errors or type errors

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 27, 2026

@olawaleakanbi035-maker 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

@Akshola00 Akshola00 merged commit 95aaf93 into Web3Novalabs:main Apr 27, 2026
1 check failed
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.

Setup wallet connection integration (Stellar/Freighter)

2 participants