Skip to content

Instantly share code, notes, and snippets.

@korrio
Created April 1, 2022 04:37
Show Gist options
  • Save korrio/b71822844b4fcd2bd824dfcd51d2664c to your computer and use it in GitHub Desktop.
Save korrio/b71822844b4fcd2bd824dfcd51d2664c to your computer and use it in GitHub Desktop.
KorrToken.sol
pragma solidity ^0.6.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/token/ERC20/ERC20.sol";
contract KorrToken is ERC20 {
constructor () public ERC20("KORRIO", "KORR") {
_mint(msg.sender, 1000000 * (10 ** uint256(decimals())));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment