0

I'm currently developing Java app that interacts with various networks. I searched it in docs, but without an effect. I would like to know if Web3j supports any other network besides Ethereum like BSC, Polygon, Optimism, Gnosis etc. Is there chainID parameter like in ethers.js or web3.js?

1 Answer 1

0

Yes, Web3.js works with all EVM based chains other than Ethereum. Mainly with BSC and Polygon being most used.

Its not based on chainId but the RPC URL you provide during the creation of web3 object.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.