I have created a Wallet with etherJS using below API:
const wallet = ethers.Wallet.createRandom();
After I import the wallet.privateKey
into metamask, I found the wallet address is exactly same on Ethereum, BSC and Polygon.
I did a little bit research and found this answer https://ethereum.stackexchange.com/a/127273/109976, which mentioned that some times the address will be different on different chains when the wallet is created with code, like Polygon and Ethereum.
But I can see the wallet address is same on polygon mainnet and ethereum mainnet.
I am bit confused and will appreciate that if anyone could help me out with these doubts:
why the wallet address is exactly same on those chains, and is it always the same?
How do I tell if the which chain will have different address with the same private key?