Just wondering, is there any particular reason why OZ hasn’t included an ERC1155Mintable module? I see Pausable and Burnable Modules are there.
Welcome to the community
OpenZeppelin Contracts v3.x uses AccessControl which provides a great deal of flexibility in defining roles. With this flexibility in mind, there isn’t an opinionated mintable contract.
We can use the preset ERC1155 contract that is opinionated and includes
mintBatch functionality which can only be called from accounts with the
Alternatively if you want to create your own contract extending from the ERC1155 implementation you can use the preset contract as a reference.
Feel free to ask all the questions that you need.
Got it, thank you for the answer!