Getting started with ERC20 Token

What is ERC20?

ERC20 is a protocol standard that defines certain rules and standards for issuing tokens on Ethereum’s network. In ‘ERC20’, ERC stands for Ethereum Request For Comments and 20 stands for a unique ID number to distinguish this standard from others.

The Ethereum community created these standards with three optional rules, and six mandatory.

Optional Rules

  • Token Name
  • Symbol
  • Decimal (up to 18)

Mandatory Rules

  • totalSupply
  • balanceOf
  • transfer
  • transferFrom
  • approve
  • allowance

Things needed to get started

Sample ERC20 Contract Code

You May Also Like

Rahat - Switching to MPL 2.0

Rahat has always been committed to transparency, collaboration, and innovation. As part of our ongoing mission to provide an efficient blockchain-based cash and voucher disbursement platform, we are excited to announce a licensing shift. Rahat has officially switched from the GNU General Public License (GPL) to the Mozilla Public License 2.0 (MPL 2.0). 

Read Details
Understanding Open Source with a Recipe Book Analogy

Imagine a popular restaurant that has a recipe book for all its signature dishes. Now, instead of keeping it locked away, the restaurant decides to make this recipe book public

Read Details
Blockchain Awareness Program at Nepal Judicial Academy

In today's rapidly evolving digital landscape, staying updated with the latest technological advancements is not just a choice but a necessity, especially for government officials tasked with safeguarding various sectors from cyber threats.

Read Details