MCPcopy Index your code
hub / github.com/WTFAcademy/WTF-Ethers

github.com/WTFAcademy/WTF-Ethers @main sqlite

repository ↗ · DeepWiki ↗
64 symbols 170 edges 56 files 0 documented · 0%
README

:globe_with_meridians: English Version :globe_with_meridians:

WTF Ethers

我们最近在重新学ethers.js,巩固一下细节,也写一个“WTF Ethers极简入门”,供小白们使用,每周更新1-3讲。

这是WTF Solidity极简教程姊妹篇,由WTF Academy社群荣誉出品。

注意: 本教程的版本基于最新的 Ethers.js v6版本,之前 v5 版本的教程见 链接

路线图根据本仓库star数量来定: - [x] 64 :star: 建立社群:discord | 微信群

  • [x] 128 :star: 出进阶内容

  • [ ] 256 :star: 发课程认证

VScode运行

需要安装VSCodeNode.js,然后运行:

npm install
node 01_HelloVitalik/HelloVitalik.js

在线编辑器运行

javascript在线编辑平台: * replit.com * playcode.io

入门

第1讲:HelloVitalik(6行代码):【Code】 【教程

第2讲:Provider 提供器:【Code】 【教程

第3讲:读取合约信息:【Code】 【教程

第4讲:发送ETH:【Code】 【教程

第5讲:合约交互:【Code】 【教程

第6讲:部署合约:【Code】 【教程

第7讲:检索事件:【Code】 【教程

第8讲:合约监听:【Code】 【教程

第9讲:事件过滤:【Code】 【教程

第10讲:单位转换:【Code】 【教程

进阶

第11讲:CallStatic:【Code】 【教程

第12讲:识别ERC721:【Code】 【教程

第13讲:编码calldata:【Code】 【教程

第14讲:批量生成钱包:【Code】 【教程

第15讲:批量转账:【Code】 【教程

第16讲:批量归集:【Code】 【教程

第17讲:MerkleTree脚本:【Code】 【教程

第18讲:数字签名脚本:【Code】 【教程

第19讲:监听Mempool:【Code】 【教程

第20讲:解码交易数据:【Code】 【教程

应用

第21讲:靓号生成器:【Code】 【教程

第22讲:读取任意数据:【Code】 【教程

第23讲:抢先交易脚本:【Code】 【教程

第24讲:识别ERC20:【Code】 【教程

第25讲:Flashbots:【Code】 【教程

第26讲:EIP712 签名脚本:【Code】 【教程

第27讲:检测合约创建1:【Code】 【教程

第28讲:检测合约创建2:【Code】 【教程

工具

ET01:连接钱包:【Code】 【教程

ET02:钱包签名登录:【Code】 【教程

WTF Ethers贡献者

贡献者是WTF学院的基石

参考

Core symbols most depended-on inside this repo

main
called by 3
en/19_Mempool/Mempool.js
makeRPCCall
called by 3
28_CreationChecker2/CreationChecker2.js
makeRPCCall
called by 3
28_CreationChecker2/trace_transaction.js
getSignature
called by 2
en/23_Frontrun/frontrun.js
erc20Checker
called by 2
en/24_ERC20Check/ERC20Checker.js
getSignature
called by 2
23_Frontrun/frontrun.js
erc20Checker
called by 2
24_ERC20Check/ERC20Checker.js
main
called by 1
08_ContractListener/ContractListener.js

Shape

Function 64

Languages

TypeScript100%

Modules by API surface

28_CreationChecker2/CreationChecker2.js5 symbols
27_CreationChecker1/CreationChcker1.js4 symbols
en/23_Frontrun/frontrun.js3 symbols
28_CreationChecker2/trace_transaction.js3 symbols
23_Frontrun/frontrun.js3 symbols
en/24_ERC20Check/ERC20Checker.js2 symbols
en/19_Mempool/Mempool.js2 symbols
24_ERC20Check/ERC20Checker.js2 symbols
21_VanityAddress/BulkVanityAddress.js2 symbols
19_Mempool/Mempool.js2 symbols
en/26_EIP712/eip712.js1 symbols
en/25_Flashbots/Flashbots.js1 symbols

Dependencies from manifests, versioned

@flashbots/ethers-provider-bundle1.0.0 · 1×
ethers6.7.1 · 1×
merkletreejs0.3.11 · 1×

For agents

$ claude mcp add WTF-Ethers \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact