Replies: 1 comment 1 reply
-
And that's why some people are getting different numbers when deploying, you are amazing @n4n0b1t3 !! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Whenever the terms Network ID and Chain ID are used without distinction, it should be noted that both IDs can be different for a server such as Ganache. Thus, in the tutorial at this point here
Solidity, Blockchain, and Smart Contract Course 3:55:09
the network ID and NOT the chain id is copied. As you can see here, my Ganache is using different IDs.
I suggest setting the chain_id programmatically in the source code as follows so that no errors occur.
"chainId": w3.eth.chain_id,
Here is a good article that also says that it is better not to use network_ids.
ChainId vs NetworkId? How do they differ on Ethereum?
Beta Was this translation helpful? Give feedback.
All reactions