Skip to content

Instantly share code, notes, and snippets.

@snaketh4x0r
Created April 25, 2020 13:42
Show Gist options
  • Save snaketh4x0r/321706fa92a31c95d24d0de34a25635a to your computer and use it in GitHub Desktop.
Save snaketh4x0r/321706fa92a31c95d24d0de34a25635a to your computer and use it in GitHub Desktop.
pragma solidity ^0.5.1;
import "https://github.com/snaketh4x0r/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20Detailed.sol";
import "https://github.com/snaketh4x0r/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20, ERC20Detailed {
constructor () public ERC20Detailed("Vitalik", "VIK", 18) {
_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