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

Nepal Banned Crypto for Good Reasons

Think about it: if we had banned the internet in the 90s because of "spam," or if we outlawed AI today because of "fake news," where would we be? Would we be safer? NO, we’d just be obsolete. Innovation needs to thrive through regulation. When we criminalize the tool instead of the crime, we don't stop the risks, we only ensure our brightest minds find a future elsewhere.

Read Details
Nepal's Digital Economy: Payment Hurdles

The $2,500 Wire Transfer: Why Nepal's Restrictive Payment Laws Are Strangling the Digital Dream

Read Details
How Open Source Is Empowering the Next Billion Innovators

Open-source software (OSS) has significantly transformed the landscape of global innovation. By eliminating obstacles, fostering collaboration, and enhancing transparency, OSS equips the next billion innovators—particularly those from underrepresented communities—with the necessary resources to address real-world issues and develop scalable solutions. It is essential to examine how open source is propelling this global initiative, promoting sustainability, and motivating the upcoming generation.

Read Details