Put in order · Blockchain and Web3 course · Module 4: ethers.js & viem
Creating a Provider
Arrange the steps for creating a connection to the Ethereum network using ethers.js:
Items to put in order
- Use provider to read blockchain data
- Import ethers
- Create a JsonRpcProvider instance with the node URL
You can check the correct answer by solving this task in the CodeWorlds game.