You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the network selection modal in the bridge component displays a combined list of mainnet and testnet networks. This issue proposes separating the network selection into distinct mainnet and testnet options, ensuring consistency with the overall DApp's network context and the user's connected wallet.
Requirements
The network selection modal should only display networks appropriate for the current mode (i.e., only mainnet networks in mainnet mode, and only testnet networks in testnet mode).
The initial mode should be determined by the overall DApp's connection state:
If the DApp is initialized in testnet mode (e.g., the user landed on a testnet-specific URL or the DApp is configured to default to testnet), the bridge should start in testnet mode.
If the DApp is initialized in mainnet mode, the bridge should start in mainnet mode.
The bridge should also respect the user's wallet connection:
If the user's connected wallet is connected to a testnet network (e.g., a Tangle testnet), the bridge should automatically switch to testnet mode.
If the user's connected wallet is connected to a mainnet network, the bridge should automatically switch to mainnet mode.
Screenshot
(curent issue: need to parse out mainnet vs. testnet)
The text was updated successfully, but these errors were encountered:
Description
Currently, the network selection modal in the bridge component displays a combined list of mainnet and testnet networks. This issue proposes separating the network selection into distinct mainnet and testnet options, ensuring consistency with the overall DApp's network context and the user's connected wallet.
Requirements
Screenshot
(curent issue: need to parse out mainnet vs. testnet)

The text was updated successfully, but these errors were encountered: