Token Standards
Token standards define shared interfaces so wallets and protocols can interact with assets consistently.
ERC-20, ERC-721, and ERC-1155 explain fungible tokens, NFTs, approvals, marketplaces, and composability.
The Intuition
A standard is a common language. Wallets can support many assets because those assets expose familiar functions and events.
See it concretely
USB works because devices agree on a connector. ERC standards work because token contracts agree on functions and events.
Tempting — but wrong
The precise version
ERC-20 defines balances, transfers, approvals, allowances, and transferFrom for fungible tokens. ERC-721 defines ownership and transfer for unique token IDs. ERC-1155 supports multiple token types in one contract. Approval flows enable composability but can expose users to allowance-drain risk.
interoperability = sharedInterface + consistentEvents + ecosystemAdoptionCheck your understanding
Why can wallets display many ERC-20 tokens?
Click to reveal answer
Why are unlimited approvals risky?
Click to reveal answer
- Compare ERC-20, ERC-721, and ERC-1155.
- Explain approve and transferFrom.
- Explain why events matter for indexing.
- Separate interface compliance from trustworthiness.
What does ERC-20 primarily provide?