Polygon – Do Smart Contracts Sync Between Polygon and Ethereum?

layer-2polygon

I'm deploying my ERC721 application on the Ethereum network and, of course, fees are a concern. I'm considering giving my customers the option to execute the contract calls on Polygon as well for lower fees, I have a couple questions about it:

1 – Do I have to redeploy the contract on the Polygon network or does it automatically sync with the Ethereum Mainnet after it is deployed?
2 – If I have a limited amount of tokens to be minted, 5000 for example. Do both networks sync so that this limit is applied for both networks and not 5000 for each one?

Sorry if some of these questions are very basic about how these networks interact, Layer 2 is still a bit confusing to me.

Best Answer

1 - Do I have to redeploy the contract on the Polygon network or does it automatically sync with the Ethereum Mainnet after it is deployed?

Polygon and Ethereum are separate blockchains and do not directly communicate.

2 - If I have a limited amount of tokens to be minted, 5000 for example. Do both networks sync so that this limit is applied for both networks and not 5000 for each one?

There is no "sync".

What you need to do is to learn about bridges.

Also Polygon is not layer two and any claim saying so is false.

Related Topic