Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Last active March 29, 2022 11:57
Show Gist options
  • Save zhouqiang-cl/7a3787d4e96f3806c531894cda621ed2 to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/7a3787d4e96f3806c531894cda621ed2 to your computer and use it in GitHub Desktop.
// contracts/GLDToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract test is ERC20 {
constructor() ERC20("Gold", "GLD") {
_mint(msg.sender, 500 * 10^18);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment