AmazingAng / WTF-Solidity
WTF Solidity 极简入门教程,供小白们使用。Now supports English! 官网: https://wtf.academy
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing AmazingAng/WTF-Solidity in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Summary (README)
Preview
:globe_with_meridians: English / Español / Português Brasileiro :globe_with_meridians:
WTF Solidity
我最近在重新学Solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
路线图根据本仓库star数量来定:
-
128 :star: 录教学视频
-
256 :star: 出进阶内容
-
512 :star: 发布官网: wtf.academy
-
1024 :star: 发课程认证
SBT: Learning Center -
2048 :star: 发社群NFT
入门
第3讲:函数 (external/internal/public/private, pure/view, payable):代码 | 文章
第4讲:函数输出(returns/return):代码 | 文章
第5讲:变量作用域和数据存储 (storage/memory/calldata):代码 | 文章
第6讲:数组(array)和结构体(struct):代码 | 文章
第9讲:常量(constant/immutable):代码 | 文章
第11讲:构造函数(constructor)和修饰器(modifier):代码 | 文章
第14讲:抽象合约(abstract)和接口(interface):代码 | 文章
进阶
第19讲:接收ETH(fallback/receive):代码 | 文章
第20讲:发送ETH(transfer/send/call):代码 | 文章
应用
Degen
第53讲:ERC2612 ERC20Permit:代码 | 文章
合约安全
S17:“跨服”重入攻击:文章
EVM 操作码
OP25:优化最小代理合约 EIP-7511:代码 | 文章
Solidity 内部规则
SI08:calldata/returndata的ABI编码:代码 | 文章
主题
开发工具
第1讲:Remix, 最易用的Solidity IDE 文章
第2讲:Infura, 连接链下与链上的桥梁 文章
第3讲:Ganache,搭建本地测试网络 文章
第4讲:Alchemy, 区块链API和节点基础设施 文章
第5讲:Dune,使用Dune可视化区块链数据 文章
第6讲:Hardhat,以太坊开发环境 文章
第7讲:Foundry,以Solidity为中心的开发工具包 代码 | 文章
第8讲:ZAN,节点服务和合约审计等Web3技术服务 文章
链上威胁分析
NFT
第1讲:ERC721库:Address, Strings, Context 代码 | 文章
翻译
第1讲:Metamask项目方给Solidity程序员的16个安全建议 文章
第2讲:深入EVM 文章
WTF贡献者
<div align="center"> <h4 align="center"> 贡献者是WTF学院的基石 </h4> <a href="https://github.com/AmazingAng/WTF-Solidity/graphs/contributors"> <img src="https://contrib.rocks/image?repo=AmazingAng/WTF-Solidity" /> </a> </div>捐赠
- 学院国库地址 Ethereum/Optimism/zkSync/Scroll/BSC/evm兼容链地址: 0x25df6da2f4e5c178ddff45038378c0b08e0bce54
- Mirror