There is a way to get the same contract address across multiple chains. to do this you'll simply need to create a new account on metamask and you will use this account only for contract deployment -because if you send any transaction besides contract creation the address will not be the same due to nonce incrementation with every transaction- and you deploy your contract using that account address. then change the network and deploy the other contract using the same account. that should do the trick. also, you can check this article to find out more details about how smart contract addresses are generated.
Here is something useful: https://docs.alchemy.com/docs/how-to-deploy-a-contract-to-the-same-address-on-multiple-networks
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article