Skip to content
Projects

About

I'm relearning ethers.js to reinforce the details, while also writing “WTF Ethers.js: A Minimalist Introduction” for beginners. Updated with 1–3 lessons each week. Now supports English! Official website: https://wtf.academy

Business & Finance

How these counts are measured

Measured star growth

in 24h
0
in 7 days
-1
in 15 days
0
in 1 month
0

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

en/README.md

Original

WTF Ethers

I've been revisiting ethers.js recently to refresh my understanding of the details and to write a simple tutorial called "WTF Ethers" for beginners.

This is the sister tutorial to the WTF Solidity Tutorials, proudly produced by the WTF Academy community.

Note: This guide uses ethers 6.17.0. Run npm ci --legacy-peer-deps from the repository root. Flashbots 1.0.0 in chapter 25 declares an ethers 6.7.1 peer. For the previous v5 guide, please refer to the link.

The roadmap is determined based on the number of stars for this repository:

  • 64 :star: Establish a community: discord | WeChat group
  • 128 :star: Release advanced content
  • 256 :star: Launch course certification

Running with VSCode (Recommended)

You will need to install VSCode and Node.js, then run:

npm ci --legacy-peer-deps
node 01_HelloVitalik/HelloVitalik.js

Running with online editors

JavaScript online editing platforms:

Intro 101

Chapter 1: HelloVitalik (6 lines of code): Code | Tutorial

Chapter 2: Provider: Code | Tutorial

Chapter 3: Read Contract Information: Code | Tutorial

Chapter 4: Send ETH: Code | Tutorial

Chapter 5: Contract Interaction: Code | Tutorial

Chapter 6: Deploy Contract: Code | Tutorial

Chapter 7: Retrieve Events: Code | Tutorial

Chapter 8: Contract Listeners: Code | Tutorial

Chapter 9: Event Filtering: Code | Tutorial

Chapter 10: BigInt and Unit Conversion: Code | Tutorial

Advanced 102

Chapter 11: CallStatic: Code | Tutorial

Chapter 12: Identify ERC721 Contract: Code | Tutorial

Chapter 13: Encode Calldata: Code | Tutorial

Chapter 14: Batch Wallet Generation: Code | Tutorial

Chapter 15: Batch Transfer: Code | Tutorial

Chapter 16: Batch Collection: Code | Tutorial

Chapter 17: Merkle Tree Script: Code | Tutorial

Chapter 18: Digital Signature Script: Code | Tutorial

Chapter 19: Listen to Mempool: Code | Tutorial

Chapter 20: Decode Transaction: Code | Tutorial

Chapter 21: Vanity Address Generator: Code | Tutorial

Chapter 22: Read Any Data: Code | Tutorial

Chapter 23: Front-Running Script: Code Tutorial

Chapter 24: Identify ERC20 Contract: Code | Tutorial

Chapter 25: Flashbots: Code | Tutorial

Chapter 26: EIP712 Signature Script: Code | Tutorial

Tools

ET01: Connect Wallet: Code | Tutorial

ET02: Wallet Sign-in: Code | Tutorial

WTF Ethers Contributors

Contributors are the foundation of WTF Academy

Reference

Explore related projects

Loading…