hackquest logo
 

Getting Started with Ethers.js

This is a course to learn about the basic of Ethers.js. You will learn to interact with smart contract using ethers.js.

Language

Javascript

Total Length

1.4h

Part of Learning Track

Build on Ethereum + 1

What You’ll Learn

How to set up and configure Ethers.js in a project. Writing scripts to interact with Ethereum and smart contracts. Methods for reading data from and writing data to smart contracts using Ethers.js. How to use a wallet with Ethers.js to initiate transactions and manage accounts.
interaction
wallet manage
Ethereum

Syllabus

Unit 1 - ethers.js Introduction

Introduction to ethers.js, its main classes, and its benefits.

Unit 2 - Setting Up the Development Environment

Setting up tools needed to start building with ethers.js.

Unit 3 - Connect to Provider

In this unit, you'll learn to set up the Ethers.js Provider class and retrieve blockchain information such as block numbers.

Unit 4 - Get Contract Information

In this unit, you'll learn about the Ethers.js Contract class, how to obtain and use ABI objects to interact with smart contracts.

Unit 5 - Connect to a Wallet

In this unit, you'll learn about the Signers and Wallets classes in Ethers.js and connect to wallets using various methods.

Unit 6 - Contract Interactions

In this unit, you'll learn how to interact with existing contracts using Ethers.js.

Unit 7 - Utilities

In this unit, you'll learn about essential utility functions in Ethers.js, including how to format data, encode and decode information, and perform cryptographic operations. These foundational tools are crucial for working effectively with smart contracts and blockchain data.

Unit 8 - Transaction

In this unit, you'll learn how to send transactions using Ethers.js.