ERC20 Upgradeable Initial Supply Issue

Yeah, the default decimals is 18, so if you want to set the total supply is 50000 token, it should be 5000 * 10 ** 18, as for how to upgrade the contract, you can have a look at this article: OpenZeppelin Upgrades: Step by Step Tutorial for Hardhat

1 Like