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 is based on the latest Ethers.js v6. For the previous v5 guide, please refer to the link.
The roadmap is determined based on the number of stars for this repository:
- 64 ⭐ Establish a community: discord | WeChat group
- 128 ⭐ Release advanced content
- 256 ⭐ Launch course certification
You will need to install VSCode and Node.js, then run:
npm install
node 01_HelloVitalik/HelloVitalik.js
JavaScript online editing platforms:
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
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