What problem does it solve?
This Skill clarifies the complexities of Ethereum's essential token standards (ERC-20, ERC-721, ERC-1155, ERC-4626), agent identity (ERC-8004), and advanced transaction protocols (EIP-7702, EIP-3009, x402), preventing common bugs and enabling robust development.
Core Features & Use Cases
- Standard Explanations: Detailed breakdowns of each standard's interface, purpose, and common pitfalls.
- Implementation Examples: Practical Solidity code snippets and Foundry tests for each standard.
- Protocol Integration: Guidance on using EIP-7702 for batch transactions, EIP-3009 for gasless transfers, and x402 for web3 payments.
- Use Case: A developer needs to implement a new ERC-20 token but is unsure about the
decimals() trap or approve() pitfalls. This Skill provides the exact code and warnings to avoid these issues.
Quick Start
Explain the ERC-20 decimals trap and provide a Solidity code example to handle it correctly.