There's a button for minting an NFT on my website. Somebody, during a test, when trying to mint a token was using a wrong network -- Ethereum mainnent instead of Arbitrum Goerli. And a TX got through without any error, although no NFT got minted.
Is there a way to prevent or warn a user, when a mint(..)
is about to get called that a wrong network is being used, if it's a wrong one indeed?
I'm using ethers.js