ERC20 Token Tutorial: Create a custom token in Solidity

jklepatch

ERC20 tokens are a key component of many Ethereum Dapps. They usually represent some sort of ownership over a product, service or asset. They largest use case has been for ICOs but recently their use has been expended to other area like game assets for example. As an Ethereum / Solidity developer, it’s important to understand how they work.

In this video tutorial, I will show you:

  • What is the ERC20 token, and what is it used for
  • The ERC20 specification
  • A custom implementation in Solidity

For the custom implementation of ERC20 token, we will write an ERC20 token from scratch using only Solidity, and no library. Usually, for production applications people use a smart contract library like OpenZeppellin, but it’s still very valuable to know how to code an ERC20 token with Solidity yourself, so that you understand very well how it works.

More great articles

Simple storage – Part I

In this video we are going to create a smart contract able to store a variable. Very easy to follow!…

Read Story

How to import Solidity ABI to Dapp frontend? 4 Solutions

When you develop a Dapp, you need the Solidity ABI of your smart contract in order to configure web3 to…

Read Story

Debugging calls vs transactions

When I started to debug Solidity smart contracts, I was really confused by the fact that although there was a…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.

    Only great content, we don’t share your email with third parties.
    Arrow-up