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

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