I am writing a script in web3js to interact with a smart contract that is on the mainnet. This is not a smart contract I control.
I want to test / develop using a testnet. So how can I check my script runs correctly without directly interacting with it on mainnet? Or do I have to rely on that smart contract being deployed on one of the testnets?