My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

ERC20 tokens - Full tutorial for beginners (Ethereum)

Julien Klepatch's photo
Julien Klepatch
·Nov 14, 2019

ERC20 tokens are the most popular type of tokens on Ethereum. They can represent fungible assets like company shares, virtual currencies, vouchers, etc..

In this ERC20 token tutorial, I will walk you through the specification of ERC20. We will go through all the functions of the specification, including the transfer functions:

  • simple transfer with transfer()
  • delegated transfer with approve + transferFrom()

For delegated transfers I will give you a practical example by explaining how decentralized exchanges (DEX) transfer tokens with approve and transferFrom.

If you are a developers who want to understand how erc20 work and how you can transfer erc20 in your smart contract, this video is for you :)