I am new to solidity and ethereum network. I have knowledge of developing erc20 and erc721 tokens using openzepplin. But I am curious about erc1155. Also I have check the erc1155 documentation at
https://eips.ethereum.org/EIPS/eip-1155
What I want to achieve is to generate multiple erc-721 NFT tokens using erc1155
- Token 1 with 100 supply
- Token 2 with 500 supply
- Token 3 with 1000 supply
and mint these tokens with 1 transaction to contract creator account while deploying the contract.
I couldn't find any resources regarding this. Any guidance or help would be appreciated.
Best Answer
OpenZepplin ERC1155
The constants on the top create different NFTs. By using the mint function you can mint those NFTs as shown in the constructor function