Skip to content

Instantly share code, notes, and snippets.

@ShiningRay
Created September 27, 2020 06:59
Show Gist options
  • Save ShiningRay/0c33e7c9f44f149b81acda9767aafa96 to your computer and use it in GitHub Desktop.
Save ShiningRay/0c33e7c9f44f149b81acda9767aafa96 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.12+commit.27d51765.js&optimize=false&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20 {
constructor () public ERC20("FMyLife Token", "FML") {
_mint(msg.sender, 1000000000 * (10 ** uint256(decimals())));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment