Skip to content

Instantly share code, notes, and snippets.

@n3omaster
Last active April 11, 2022 18:05
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 n3omaster/d2e1cbdb479fde51374ecc83f6fd1fe7 to your computer and use it in GitHub Desktop.
Save n3omaster/d2e1cbdb479fde51374ecc83f6fd1fe7 to your computer and use it in GitHub Desktop.
ERC20 TOken contract code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract QVAToken is ERC20 {
constructor() ERC20("QvaPay", "QVA") {
_mint(msg.sender, 10000000 * (10 ** uint256(decimals())));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment