Skip to content

Latest commit

 

History

History
106 lines (62 loc) · 7.32 KB

README.md

File metadata and controls

106 lines (62 loc) · 7.32 KB

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 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

Running with VSCode (Recommended)

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

npm install
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