/ How to create a token on HECO
preview

How to create a token on HECO

28.06.2021

 

 Token creation on Heco Chain 

 

 1. Choose the blockchain in which you want to create a token 

 

If you want to create a token for free to test how it works, switch Test network — YES.

If you already know how everything works and want to create a contract on the main network for a fee, switch Test network — NO

 

  

 

 

 2. Click on the selected contract to go to the contract creation form. 

 

  

 

 3. Specify the full name of the token, for example MY PROJECT TOKEN 

 

 4. Specify the token symbol. 

This is usually a short name or abbreviation, such as MPT

 

 5. Specify Decimals. 

The number of decimal places after the decimal point. For example, USD has 2 decimals. Decimals 8 is a common practice.

 

  

 

 6. Enter the Token owner address. 

You must specify the address from which you have a private key. We recommend using addresses from Metamask. Using addresses from Trustwallet is also acceptable as they provide private keys to addresses.

 

  

 

Important!

Do not use the addresses you received on the Exchanges or in crypto wallets if you are not sure that they provide you with a private key. Otherwise, you will not be able to manage the contract and will lose tokens.

 

 7. Click Mint tokens to create a Total supply. 

 

  

 

 8. Specify the address to which you want to send tokens 

 

 9. Enter any address name (optional) 

 

 10. Specify the number of tokens 

 

  

 

You can specify up to 5 addresses in order to perform premint tokens to addresses for example (for TEAM, Advisors, Bounty, Marketing etc.)

The recipients of tokens must have private keys from these addresses.

Possible options for freezing tokens until a specified date. For example, if your tokenomics suggests locking command tokens for a certain period.

After reaching the specified date, the token holder or token owner must call the defrost function in order to be able to transfer tokens.

 

  

 

If you want your contract code to be published by the platform, we recommend choosing a verification service. (only available on the Mainnet)

 

 11. After filling out the form, press the CREATE button to save the contract form. 

 

  

 

Your contract status is now Created. You can check all the conditions that were previously entered and make sure everything is in order.

 

  

 

 12. Press the Edit button if you decide to change any of the clauses of the contract, since after starting the conditions it will not be possible to change. 

 

 13. Click the Launch button if you are ready to deploy the contract. 

(When creating a contract on the Mainnet, you will need to top up the balance on the platform in the Buy tokens tab. In the test network, creating contracts is free.)

 

  

 

  

 

After the contract is deployed, its status will be Active.

In our service, 2 buttons will be available for you:

Mint — you can mint more tokens if required (with or without freezing)

Finalize — if you have created a sufficient number of tokens in accordance with your tokenomics and you are sure that you do not need any more, then call the Finalize function to disable the possibility of minting in the future.

 

  

 

 

 Token managing 

 

To manage tokens, you need to add the Heco chain to Metamask, and then the token itself.

 

 How to add HECO in Metamask 

To add Heco to Metamask go to metamask settings and find the Networks tab.

Open Settings

 

  

 

Choose Networks

 

  

 

Press Add network

 

  

 

Fill out the form

 

  

 

Info for adding TEST NETWORK

 

 HECO TestNet 

 

Network Name: HECO Testnet

New RPC URL: https://http-testnet.hecochain.com или wss://ws-testnet.hecochain.com

Chain ID: 256

Currency Symbol: HT

Block Explorer URL: https://scan-testnet.hecochain.com/

Test Coin Faucet: https://scan-testnet.hecochain.com/faucet

Info for adding MAIN NETWORK

 

 HECO MainNet 

 

Network NAME: HECO-Mainnet

URL RPC: https://http-mainnet.hecochain.com

ChainID: 128

Symbol: HT

URL-explorer: https://hecoinfo.com

 

 How to add token in metamask 

 

Having added HECO network you, can add token to Metamask

Make sure you use same network where your token is created

Press Add token

 

  

 

Enter token address and press Next

 

  

 

After these instructions, you will be able to manage the token using Metamask.

 

 
 
 
 
 
 
 
 

Keep in touch with the latest news

By using the service, you accept the Privacy Policy | Terms of Service