Skip to content

Instantly share code, notes, and snippets.

@apogiatzis
Last active November 4, 2020 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apogiatzis/b555340d06e5a36dab2829991d932b3a to your computer and use it in GitHub Desktop.
Save apogiatzis/b555340d06e5a36dab2829991d932b3a to your computer and use it in GitHub Desktop.
C1: Smart Contract Development
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