Skip to content

Learn: Cheat sheet — Token standards reference (ERC-20/721/1155, SPL) (slice of #33) #44

@PetarStoev02

Description

@PetarStoev02

Context

This is a focused slice of #33 (Cheat sheets). A single-page reference for the most common token standards lets developers quickly recall which interface they're working against, the canonical functions, and the gotchas.

What to build

Add cheat-sheets/token-standards.md containing one section per standard:

  • ERC-20 — function signatures (transfer, transferFrom, approve, allowance, balanceOf), events, common patterns (infinite approval, permit/EIP-2612), gotchas (USDT return-value quirk, fee-on-transfer tokens)
  • ERC-721 — function signatures, events, metadata standard (tokenURI), enumeration extension, common patterns
  • ERC-1155 — function signatures, batch operations, events, when to choose 1155 over 721
  • SPL Token (Solana) — minting, transferring, associated token accounts, decimals, common patterns

Each section should fit roughly one screen — quick reference, not a tutorial.

Acceptance criteria

  • cheat-sheets/token-standards.md exists and renders cleanly
  • Four sections (ERC-20, ERC-721, ERC-1155, SPL Token) each fit ~one screen
  • Function signatures shown in code blocks (TS-style for EVM, Rust-style for Solana)
  • At least one "gotcha" called out per standard
  • Linked from the cheat-sheets index when one exists

Pointers

Complexity

🟢 Good first issue

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions