Skip to content

Instantly share code, notes, and snippets.

@resanul
Last active December 24, 2021 16:15
Show Gist options
  • Save resanul/4d985c0cd605fe64257d24c321c0fa9f to your computer and use it in GitHub Desktop.
Save resanul/4d985c0cd605fe64257d24c321c0fa9f to your computer and use it in GitHub Desktop.
OpenZeppelin
pragma solidity ^0.8.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/1ffcb10bd2219c850ebbc56030fa946a84963215/contracts/token/ERC20/ERC20.sol"
contract Token is ERC20 {
constructor () public ERC20("LabAR", "LAB"){
_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