DEV Community

Julien Klepatch
Julien Klepatch

Posted on • Originally published at youtube.com

6 1

Introduction to Ethereum ERC20 tokens for beginners

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 :)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️