Skip to content

Instantly share code, notes, and snippets.

@mrdarkside
Created October 5, 2020 13:31
Show Gist options
  • Save mrdarkside/55671050c20a10579e2950845701c0cd to your computer and use it in GitHub Desktop.
Save mrdarkside/55671050c20a10579e2950845701c0cd to your computer and use it in GitHub Desktop.
pragma solidity ^0.6.2;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20 {
constructor () public ERC20("Token", "TKN") {
_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