Skip to content

Instantly share code, notes, and snippets.

@envatic
Last active September 8, 2022 22:58
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 envatic/f90b5d3ba5595489d8110aa54a59ea21 to your computer and use it in GitHub Desktop.
Save envatic/f90b5d3ba5595489d8110aa54a59ea21 to your computer and use it in GitHub Desktop.
Medium Tutorial Token2
// contracts/GLDToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract FluffyShibaToken is ERC20 {
constructor(uint256 initialSupply) ERC20("FluffyShiba", "FSH") {
_mint(msg.sender, initialSupply);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment