Created
June 22, 2023 13:10
-
-
Save DFMlab/39fe2d5ced50a4d924e73e21199fce09 to your computer and use it in GitHub Desktop.
Sample ERC20 Token
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
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) | |
pragma solidity ^0.8.0; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol"; | |
contract Token is ERC20 { | |
constructor () ERC20("Token", "TKN") { | |
_mint(msg.sender, 1*10^30); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment