I would like to write a smart contract that can issue an erc20 token when asked (with some required parameter, as name, symbol, decimals, and owner address).
From what I understood I have to deploy a new smart contract every time I want to issue a new ERC-20 token. Can I do this inside a smart contract?
I also saw that there is this new erc1155 standard, but from what I understand is mostly for issuing erc721 tokens.