Last active
November 4, 2020 01:39
-
-
Save apogiatzis/b555340d06e5a36dab2829991d932b3a to your computer and use it in GitHub Desktop.
C1: Smart Contract Development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20.sol"; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.0/contracts/token/ERC20/ERC20Detailed.sol"; | |
contract Token is ERC20, ERC20Detailed { | |
constructor () public ERC20Detailed("<StudentID> Token", "LABT", 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