I generated a smart contract using OpenZeppelin Smart Contract wizard. https://wizard.openzeppelin.com/
I looked into the source code of OpenZeppelin library and it seems to be very sufficient to be published. However, I wonder if this contract can be published as crypto token for trading? Literally just this contract + tests. If not what it is missing?
What I care about most was just whether OpenZeppelin library complies with all regulation in US or do users need to add something to be compliant?
Assuming I just want the most basic token. No needs to be taxable.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
/// @custom:security-contact someContact@gmail.com
contract MyToken is ERC20 {
constructor() ERC20("MyToken", "MTK") {
_mint(msg.sender, 1000000 * 10 ** decimals());
}
}