Skip to content

💰 Replace mock wallet address with real Web3 integration #5

@Smartdevs17

Description

@Smartdevs17

Problem

The app uses hardcoded mock addresses instead of connecting to real wallets, making it unusable for actual payments.

Context

Users cannot connect their real wallets (MetaMask, WalletConnect) - all addresses are hardcoded placeholders.

Proposed Solution

Implement real wallet connection:

  1. Integrate WalletConnect properly with actual session management
  2. Replace mock addresses with real connected wallet addresses
  3. Implement proper disconnect functionality
  4. Handle wallet change events

Acceptance Criteria

  • User can connect MetaMask/WalletConnect wallet
  • Connected address displayed correctly
  • Wallet disconnect works properly
  • Reconnection persists across app restarts
  • Network change detection works

Technical Notes

Files:

  • src/screens/WalletConnectScreen.tsx:58-68
  • src/services/walletService.ts:20-35
  • src/store/walletStore.ts

Components: WalletConnectScreen, walletService, walletStore

Constraints

  • Must support iOS and Android
  • Handle MetaMask not installed scenario
  • Timeout handling for connection failures

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workingenhancementNew feature or requestweb3Web3/blockchain related

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions