How can i easy swap flow scripts and transactions contract address from testnet to mainnet or mainnet-testnet

Hi all.
I have a simple question.

I am using one more scripts and transactions files. I deployed my app to production i want to use mainnet contract address, or trying to debug i want to use testnet address.

I am changing everytime my contract address. How can i do that with correct way?

Screen Shot 2022-09-21 at 21.48.15

1 Like