Skip to content

[GF-09] Add Freighter wallet integration with multi-wallet support and session persistence#64

Merged
wumibals merged 1 commit into
LadderMine:mainfrom
Leothosine:feat/gf-09-wallet-integration
Jun 24, 2026
Merged

[GF-09] Add Freighter wallet integration with multi-wallet support and session persistence#64
wumibals merged 1 commit into
LadderMine:mainfrom
Leothosine:feat/gf-09-wallet-integration

Conversation

@Leothosine

Copy link
Copy Markdown
Contributor

Summary

Implements wallet integration as described in #42 - adds Freighter wallet connectivity, a multi-wallet picker (Freighter, LOBSTR, xBull), and 24-hour session persistence via sessionStorage.

Changes

  • �pp/src/lib/wallet/types.ts - shared types: WalletProvider, StellarNetwork, WalletAccount, WalletSession, WalletAdapter, SignTransactionOptions
  • �pp/src/lib/wallet/session.ts - session persistence helpers (saveSession, loadSession, clearSession, createSession) with TTL-based expiry
  • �pp/src/components/wallet/WalletButton.tsx - client component with wallet picker dropdown, Freighter connection flow, and network detection

Behaviour

  • On load, the component restores any existing session from sessionStorage
  • Clicking Connect Wallet opens a provider picker (Freighter, LOBSTR, xBull)
  • Freighter path calls
    equestAccess() and getNetwork() to detect mainnet/testnet/futurenet automatically
  • LOBSTR and xBull show a ''coming soon'' message (stubs for follow-up PRs)
  • Session expires after 24 hours; expired sessions are cleared automatically on next load
  • Disconnecting clears both state and storage

closes #42

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

@Leothosine is attempting to deploy a commit to the wumibals' projects Team on Vercel.

A member of the Team first needs to authorize it.

@wumibals wumibals merged commit e5efd88 into LadderMine:main Jun 24, 2026
2 of 4 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.

[GF-09] [FRONTEND] Wallet Integration (Freighter, Multi-Wallet, Session Persistence)

2 participants