Issuing TRC20 tokens tutorial

1. Install TronLink Chrome plugin

Address: TronLink

2. Prepare an account for issue token

There are three ways to create an account, import an account, and link a hardware wallet. You need to ensure that there are more than 10 TRX in the account.

864

3. Prepare the TRC20 contract code

Trc20 contract template: code

Modify the Token.sol file to define the token name, token symbol, precision, and totalsupply

864

4. Deploy TRC20 contract

Deploy with tronscan: deployment tool

  • Link wallet
1900
  • Upload contract code
864 864
  • Compile the contract
    Please select 0.5.10 version compiler
864 864

The following prompt appears, indicating successful compilation

864
  • Deployment contract

Please note that you must choose the Token contract, because Token is the main contract

864

Click Confirm to deploy, the tronlink signature dialog box will pop up, click to accept to sign,when successful deployment, please get the contract address, and record the contract address.

364 864

5. Add tokens to Tronlink

On the asset management page, fill in the contract address obtained after successful deployment in the add token input box, the contract just deployed will pop up, click the switch button, and add the token to tronlink. After the addition is successful, the transfer can be carried out.

864

You can also search the contract homepage on tronscan

864