How to create a mintable ERC20 token?

I recently created a standard ERC20 token with openzepplin. Now, how do I make it a “mintable” token?. Or just using ERC20.sol makes is a mintable token if it’s not capped.

1 Like

Hi @PradhumnaPancholi,

Welcome to the community. :wave:

ERC20 is only mintable if you add in the functionality, otherwise it is a fixed supply.

You can use the Preset ERC20 contract.
There are guides on how to deploy:

Otherwise you can look at the code to see how minting functionality is added: