01 logo

How to create an ERC20 Token based on Ethereum

ERC20 Token Development

By BoopathiPublished 2 years ago 6 min read
Like

In this tutorial we show how to create an ERC20 token easily and simply so that you can manage your own crypto assets. A token is a symbol of any asset capable of being traded. In other words, erc20 token creator a token can represent a value within a community, a company share, a project stake, etc.

What is the difference between a cryptocurrency and a token?

As a general rule, a cryptocurrency has its own blockchain (chain of blocks) and a token is based on the blockchain of an existing cryptocurrency. Since the appearance of Ethereum, a large number of tokens have appeared that are supported by the Ethereum blockchain. Therefore, a token has the advantages that it is supported by an already created infrastructure and, in addition, it has the operation that the creator has programmed.

Create an ERC token 20

In this tutorial you will learn how to create an ERC 20 token based on the Ethereum blockchain and, among other things, you will be able to configure the initial coin offering, how to distribute them, their name, their symbol and many other aspects.

Install a wallet that allows you to deploy smart contracts to create a token

A token is created from an intelligent contract or “ Smart contract ” that is deployed on the ethereum blockchain. Therefore, to be able to create a smart contract it is necessary to install a wallet on the computer that allows you to create contracts or, ethereum token development if you do not want to install anything, you can also use the services offered by MEW ( myetherwallet.com ).

Personally, I recommend the wallet option, as it is much simpler and alerts you to errors that the contract may have, such as obsolete codes or writing errors.

For the tutorial I have opted for the famous “Ethereum Wallet” wallet, as it is the quintessential ethereum wallet. You can download it from the Ethereum website .

Once downloaded from the official page, the installation will proceed, like any other program.

Wallet installed

Once installed, the wallet will open and give you the option to view your wallet accounts, transactions, and total balance. Since the wallet is newly created, it has no accounts, no transactions, and no balance.

Create an account and make a deposit before creating a token

Create new account

The next step would be to create a new account, because without a created account you cannot receive ethers or deploy a contract. The program acts as if it were a wallet manager and, therefore, each account is a different wallet.

Backup

Once the account has been created, it is advisable to make a backup copy, since the only way to recover the ethers and cryptocurrencies that are created would be through the file that contains the private keys of the different addresses that make up the account. Therefore, the file containing the keys must be copied and stored in a safe place outside the computer.

View created account

Once the account creation process has been completed, it will appear on the screen and, since the account is new, the final balance of ethers will be 0. In order to create a smart contract it is necessary to make a small deposit of ethereums, erc20 token generator since to deploy a contract it is necessary to pay a small commission to the miners who validate the transaction.

On the main page of “ Buy Bitcoins “ we show the main exchange houses from which you can buy some ethereums easily and simply.

Make deposit of Ethers

In an exchange house I have bought a small amount of ethereum and I have transferred it to my wallet. Once this step is finished, all the necessary infrastructure is already available to create a new token.

Create a smart contract to create an ERC 20 token

Currently there are many smart contracts that are already created and therefore you do not need to be an expert programmer to create a new token. On the ethereum.org website they have several contracts created so that people can create their own tokens. I have opted for that source because it is reliable and, supposedly, it will not have any malicious code.

Once inside, in the tokens section it shows several codes. I have opted for a more complete one, since the first of all is very simple and practically does not allow configuration options.

Access contracts

Once you have the copied contract code, you have to access the contracts section of the Ethereum Wallet.

New contract

Within the contracts section you can see the contracts created. To create a new contract, click on “Delploy new contract” which in Spanish means “deploy new contract”.

Get contract code

On the page that appears, the code that we have previously copied from the official ethereum website must be pasted. Also, make sure you have selected the ethereum account that has funds in the drop-down menu, in my case “Account”.

Select ERC Token 20

After having pasted the code, a series of configuration options will appear on the right side. The first step is to select from the drop-down menu the purpose of the contract: ERC 20 Token development company.

Configure tokens

By touching the code many aspects of the token can be changed. Even so, the most basic changes and adjustments that can be made are the following:

*Initial supply: is the amount of tokens that will be created. In the case of the token that I have created (Leuro), I have selected 100,000,000 tokens.

*Token Name: the name that the token will have.

*Token symbol: the symbol of the token, usually three letters. In the case of bitcoin it is BTC and in the case of Ethereum it is ETH.

*Number of decimals that the token will allow: I have selected 18. That is, each “Leuro” token can be operated with 18 decimals.

The contract will appear in the list of transactions in the wallet. Once confirmed, the Leuros will appear in my wallet. Normally, the process usually takes about 5–10 minutes.

Check if the Token has been created correctly

Once the Token has been created, the created tokens should appear in the wallet. To confirm that it has propagated through the network, you can access etherscan.io and look for the token that has just been created.

If you click on the name of the token you can access all its public data.

Token information

Among other things, you can see the following data: number of tokens issued, number and addresses of owners of the token, all transactions made, address of the token contract, etc.

ethereum token development

cryptocurrency
Like

About the Creator

Boopathi

Digital Marketer , SEO Analyst

Reader insights

Be the first to share your insights about this piece.

How does it work?

Add your insights

Comments

There are no comments for this story

Be the first to respond and start the conversation.

Sign in to comment

    Find us on social media

    Miscellaneous links

    • Explore
    • Contact
    • Privacy Policy
    • Terms of Use
    • Support

    © 2024 Creatd, Inc. All Rights Reserved.