Skip to content

This PR implements the dynamic network switching capability as requested in issue #80.#172

Open
Ahavahdev1 wants to merge 1 commit into
sorosave-protocol:mainfrom
Ahavahdev1:main
Open

This PR implements the dynamic network switching capability as requested in issue #80.#172
Ahavahdev1 wants to merge 1 commit into
sorosave-protocol:mainfrom
Ahavahdev1:main

Conversation

@Ahavahdev1

Copy link
Copy Markdown

Key Changes

  • Centralized network configurations into a structured NETWORKS object, supporting both testnet and mainnet.
  • Implemented getSelectedNetwork using localStorage with SSR safety checks.
  • Refactored SoroSaveClient initialization to dynamically use the active network configuration.
  • Exported network constants for consistent usage across the application.

Closes #80
@Opire solve

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.

Add support for multiple networks (Testnet/Mainnet switch)

1 participant