Thanks in advance!
Launching an ERC20 via Contract Wizard
Environment
using https://docs.openzeppelin.com/contracts/4.x/wizard just minting an initial supply of 10,000,000 to test
Details
contract compiles and launches, but no tokens… not sure why, tested multiple times:
Code to reproduce
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor() ERC20("MyToken", "MTK") {
_mint(msg.sender, 10000000 * 10 ** decimals());
}
}