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'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
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