[Ethereum] How to ethers.js using infura as provider


How can I use Infura as the provider for ethers.js?
Whether I can use sendtransaction api in ethers.js if I use infura as the provider?

Best Answer

  1. Yes, ethers.js has an Infura provider.

  2. Since Infura doesn't provide ethereum accounts you have to manage it your side. Ethers.js has wallets that can be used with any of their providers Wallet and signers.

Related Topic