Tutorial: Building a dApp and sending a transaction using both web3.js and ethers.js via Infura’s APIs

Web3.js and ethers.js are JavaScript libraries that allow developers to interact with the Ethereum blockchain. In part I of our tutorial series on Ethereum JavaScript libraries, we compared web3.js and ethers.js, focusing on their similarities and differences, so that you could better understand the nuances of the libraries and evaluate which library better fits your particular use case.

In this part of the tutorial, we will walk you through building a simple dApp to demonstrate how to send a transaction using both web3.js and ethers.js via Infura’s APIs.