0PricingLogin
Web3 & DApp Development Fundamentals · Lesson

The ERC-20 Standard

Token interface.

What Is ERC-20?

ERC-20 is the standard interface for fungible tokens on Ethereum. Fungible means every unit is identical and interchangeable, like currency.

Because all ERC-20 tokens share the same interface, wallets and exchanges can support any of them automatically.

The Required Functions

An ERC-20 token must implement six functions:

  • totalSupply()
  • balanceOf(account)
  • transfer(to, amount)
  • approve(spender, amount)
  • allowance(owner, spender)
  • transferFrom(from, to, amount)

All lessons in this course

  1. The ERC-20 Standard
  2. Implementing a Token
  3. Allowances
  4. Minting and Burning
← Back to Web3 & DApp Development Fundamentals