Skip to content

Minting doesn’t work when switching from Mainnet to Testnet (TON Space) #205

@tsivarev

Description

@tsivarev

When switching from mainnet to testnet, if a wallet (TON Space) was already connected, minting does not work. The user must manually disconnect and reconnect the wallet, ensuring the testnet is enabled in TON Space before reconnecting.

Steps to Reproduce

  1. Connect a TON Space wallet while on the mainnet.
  2. Switch the network to testnet in the Minter UI.
  3. Attempt to mint a token.

Expected Behavior
Minting should work seamlessly after switching to testnet.

Actual Behavior

Minting does not work unless the user manually:

  • Disconnects the wallet.
  • Enables testnet mode in TON Space.
  • Connect the wallet.

Proposed Solution

  • Detect when users switch networks and prompt them to reconnect their wallet if necessary.
  • Provide a clear error message or UI guidance instructing users to enable testnet mode in the wallet (TON Space)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions