Skip to content

[Feature]: Freighter Wallet Integration #125

Description

@SudiptaPaul-31

🔍 Problem Statement

Description
Integrate Freighter Wallet authentication to enable secure wallet-based login and transaction signing for Stellar network interactions.

Features

  • Connect wallet (prompt user to authorize via Freighter)
  • Disconnect wallet (clear session and wallet state)
  • Network detection (testnet vs. mainnet)
  • Wallet address retrieval for authenticated user

Tasks

  • Implement connect/disconnect logic using Freighter SDK
  • Detect active network and handle switching gracefully
  • Retrieve and persist wallet address in session/store
  • Add error handling for rejected connections or unsupported networks
  • Provide UI feedback (connected state, error messages)

Acceptance Criteria

  • Works seamlessly on Stellar Testnet
  • Proper error handling for failed or rejected connections
  • Wallet address retrieved and displayed correctly
  • Network detection works and prevents mismatched transactions
  • Reusable integration for future wallet-based features
  • Unit tests included for connection, disconnection, and error handling

📈 Expected Impact

High — Would significantly improve user experience

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions