2

EIP-155 requires that transactions be signed using the ChainID as one of the parameter.
Web3JS Sign Transaction document shows that the ChainID will be automatically fetched using web3.eth.net.getId()

Web3JS getID (which is supposed to fetch the chainID automatically) is actually returning the NetworkID and not the ChainID.

Considering this and this blog post that shows that not all EVM based chains have the same NetworkID and ChainID. This will create an issue right?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.