Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a simple token on HTMLCOIN/Qtum network

I wanted to create a new token on the HTMLCoin system with a smart contract.  I would appreciate any help on this matter.

Thanks in advance !

As everyone knows, HTMLCOIN's network supports smart contracts as well as Ethereum. There are few internet tutorials on how to actually create a token, even by the Ethereum network. So I came here to show you how to create an HTMLCOIN token in a simple and super well explained way. 

The tutorial will basically serve the HTMLCOIN and Qtum network.

1 - Open the Ethereum Solidity Compiler in or by the button in the Smart Contract tab in the HTML wallet

2 - Close and delete anything that might be open in Solidity, in the "browser" tab

3 - Create a new file with the name of your token. Ex: MyToken.sol

4 - Go To:

5 - Copy everything and paste in Solidity, in the same file "MyToken.sol" that you created

6.a - On the eighth line "contract", change "QRC20Token" by the name of your token. Ex: MyToken

6.b - Do the same in "function TokenERC20" in line number 25

7 - Go to and copy all

8 - Create a new file in Solidity, called "SafeMath.sol" and paste the one you copied above

9 - Edit the name, symbol and total supply of your token. NOTE: Switch 9 for 1 and enter the explicit quantity


10 - After that, press the "Start to compile" button

11 - Now open your HTML wallet and wait for it to sync

12 - Open the "Smart Contract" option and then "Create"

13 - You will have two fields to fill, "Bytecode" and "Interface (ABI)"

14 - Return to Solidity and under the "Start to compile" button, select the file of your Token

15 - Click on "Details"

16 - There in the details will have the "BYTECODE", you will copy all code described in the line "object", as in the image


17 - Paste everything in "Bytecode" in the HTML wallet and if it works out it will be like this:


18 - If in case everything turns red, you copied and pasted wrong, redo

19 - Now in Solidity again, under "BYTECODE", in "ABI" copy everything by pressing the little button


20 - Paste everything in the second field "Interface (ABI)" in the HTML wallet

21 - In the "Gas Limit" can put on 2500000, if you do not understand enough of what GAS is about

22 - Set the "Gas Price" to any value above 40 satoshi of HTML. Remember, whenever you send the tokens to another address, you must put an equivalent value or higher to the Gas Price of your token, so that the miner does not refuse your transaction

23 - In "Sender Address" define the wallet that will store the tokens

24 - It will stay like this


25 - Click "Create Token", enter the wallet password if it is encrypted and give an "OK"

26 - Done, your contract was created and sent to the HTML network


27 - You have to have balance in the wallet to create the token, the higher the "Gas Price", the greater will be how much you will pay of fees

28 - When will I be able to use my token? You will be able to use the tokens when the network returns you part of the HTML's (in the form of mining) used to pay the contract


(Contract send = Contract Payment) (Mined = Contract Confirmed)

Well, you just created your token and can use it as you want. But first, wait for the 501 mine value confirmations, so your token is fully ready for use!

Do not use this tutorial to create tokens to apply scams, please!


1 - At the beginning of the wallet click on "Add Token"


2 - In "Contract Address" you will only need to enter the address of the contract you generated and the wallet where you placed the tokens



3 - Fill in automatically

4 - Click on "Confirm"

5 - And so, your tokens are visible and usable

6 - To send, just click "Send" and fill in

7 - Always remember to put the right "Gas Price" (equal or superior)

8 - Enter your password if the wallet is encrypted and confirm the sending of your tokens

YES I am available to create some custom project if you need!  Just PM me!

It was not easy to do this tutorial, much less translate it. If you want to make a donation, I'm very grateful!

You can donate RUMCoin on my profile Smile

HTML: HX2mHyKo8CHxH56qso1EBBXYzneWE6KeMd
ETH: 0xdd0B58e251b15842aCc7cC575Bb72E8df274C960

Users browsing this thread: 1 Guest(s)