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.ERC20Solidity