Hrc20 token and how to create your token

mxkfz 2021-04-16 20:49:34 阅读数:965

hrc20 hrc token create token

HRC20 Token standard

HECO Fully compatible with Ethereum ERC20 standard ,interface and event as follows :

// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// ----------------------------------------------------------------------------
contract ERC20Interface {

function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfer(address to, uint tokens) public returns (bool success);
function approve(address spender, uint tokens) public returns (bool success);
function transferFrom(address from, address to, uint tokens) public returns (bool success);
event Transfer(address indexed from, address indexed to, uint tokens);
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);

Please refer to the standard :


Please refer to :


Create a contract tutorial

1. download MetaMask wallet

Official website address :

Browser plug-in download ( At home ):

2. Select the network , Customize RPC

3. fill HECO Internet Information

Network name ( Fill in at will ): Fire coin ecological chain or Huobi ECO Chain

newly added RPC website :https://http-mainnet-node.huo...

chain ID:128

Symbol ( optional ):HT

Block browser URL( optional ):

4. visit HRC20 Website