I have a similar question I want to use an application which I currently use on Ethereum on polygon.
Can I use the same web3 commands in JS on polygon?
For instance:
When I type smth like: web3.utils.toWei(„1“, „ether“)
Will it automatically convert the ether to polygon Matic units ?
Or does polygon have a totally different library than normal web3
Sep 20, 2021, 7:49 AM
Is it the same for polygon as well ?
Sep 20, 2021, 7:56 AM
I think you need to follow the network configuration depends on what network.
Sep 20, 2021, 8:13 AM
Okay nice
Sep 20, 2021, 9:07 AM