Skip to content

🔧 Add network detection and switching #69

@Smartdevs17

Description

@Smartdevs17

Problem

No handling for network changes or incorrect network.

Context

Users may connect to wrong network and transactions fail silently.

Proposed Solution

Implement network handling:

  1. Detect current network
  2. Show warning for wrong network
  3. Prompt to switch
  4. Persist network preference

Acceptance Criteria

  • Current network detected
  • Warning shown for wrong network
  • Switch button works
  • Persists preference

Technical Notes

Files:

  • src/services/walletService.ts
  • src/store/walletStore.ts

Constraints

  • Handle wallet disconnect
  • Multiple network support
  • RPC configuration

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requestpriority-mediumMedium priorityweb3Web3/blockchain related

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions