Problem
Stellink only supports Freighter today. That excludes anyone who uses Albedo, xBull, Lobstr, Hana, or wants to sign with a Ledger. The wallet-coupling is hard-coded inside useStellarWallet.
Proposal
Migrate the wallet integration to @creit.tech/stellar-wallets-kit, which exposes a unified API across all major Stellar wallets. The kit handles wallet detection, the connect modal, and signing — we keep the rest of our wallet context unchanged.
Acceptance criteria
Files involved
frontend/src/hooks/useStellarWallet.ts — full rewrite around the kit.
frontend/src/components/WalletButton.tsx — minor tweak to surface the kit's modal.
frontend/package.json — swap the dependency.
Notes
Keep the kit configured for testnet by default and read the network from STELLAR_NETWORK_PASSPHRASE in configAddress.ts so the existing mainnet/testnet flag still works.
Problem
Stellink only supports Freighter today. That excludes anyone who uses Albedo, xBull, Lobstr, Hana, or wants to sign with a Ledger. The wallet-coupling is hard-coded inside
useStellarWallet.Proposal
Migrate the wallet integration to
@creit.tech/stellar-wallets-kit, which exposes a unified API across all major Stellar wallets. The kit handles wallet detection, the connect modal, and signing — we keep the rest of our wallet context unchanged.Acceptance criteria
@stellar/freighter-apiwith@creit.tech/stellar-wallets-kit.useStellarWalletexposes the samepublicKey,connect(),disconnect(),signAndSubmit()surface — no breaking changes to consumers.Files involved
frontend/src/hooks/useStellarWallet.ts— full rewrite around the kit.frontend/src/components/WalletButton.tsx— minor tweak to surface the kit's modal.frontend/package.json— swap the dependency.Notes
Keep the kit configured for testnet by default and read the network from
STELLAR_NETWORK_PASSPHRASEinconfigAddress.tsso the existing mainnet/testnet flag still works.