Skip to content

Instantly share code, notes, and snippets.

@diegoxter
Last active September 19, 2023 16:13
Show Gist options
  • Save diegoxter/972a91e350f658a7375333ebed8b90e1 to your computer and use it in GitHub Desktop.
Save diegoxter/972a91e350f658a7375333ebed8b90e1 to your computer and use it in GitHub Desktop.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
contract TestCoin is ERC20, ERC20Burnable {
constructor(string memory tokenName, string memory tokenSymbol) ERC20(tokenName, tokenSymbol) {
_mint(msg.sender, 180000000000000 * 10 ** decimals());
}
}
@diegoxter
Copy link
Author

0xDA780de3395f7573a3d8F7BaB91e9264acd181BB testtoken1
0xa3b06F583Ac96E5d5542E86372c4bfb2b93628C2 testtoken2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment