can i upgrate a supply token when i deploy the contract ?
if i can send me how plz
Yes you can use mint function.
can u tell me how bro bc i dont know ?
If you are inheriting ERC20.sol by Openzeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol)
You only need to call _mint() function inside your contract.
An example could b:
function mint(uint256 amount) external onlyOwner{
super._mint(msg.sender, amount);
}
im not using this i have other contract
Then you should share your code
I didn't understand if you need a mint function or just set the supply after deployment
Sorry, I am not sure what do you mean. I think you mean you want to update the token address, right? Or something else?