Deploying KRC20 Token
KardiaChain Official User Guide for Deploying KRC20 Token on Testnet and Mainnet
// contracts/GLDToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor(uint256 initialSupply) ERC20("My KRC20 Token", "MYTOKEN") {
_mint(msg.sender, initialSupply);
}
}

Last updated
Was this helpful?
