'Which provider should I choose ? Web3Provider ? InfuraProvider ? JsonRPCProvider?

I have a question : which provider should I choose for interacting with a contract on the mainnet and why ?

It seems like Web3Provider is easier to use, are there any drawbacks ?

Thank you for your answers.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source