Reputation: 17
I'm building an NFT marketplace, say a copycat of OpenSea.
I need to make my users able to mint their own tokens. That's ok, that would be an ERC721 contract. But I want to allow my users to mint different collections (as OpenSea does) with different supplies as follows:
(1) Have a single collection
(2) Have multiple collections
(A) Mint 1/1 NFTs
(B) Mint 1/N NFTs (say, for instance, 100 in total of the same NFT)
That makes a set of combinations:
Single collections (1) of 1/1 NFTs (A)
Single collections (1) of 1/N NFTs (B)
Multiple collections (2) of 1/1 NFTs (A)
Multiple collections (2) of 1/N NFTs (B)
Single or multiple collections (1 or 2) of both 1/1 and 1/N NFTS (A and B)
When using ERC721 I would be able to make (A) and (B), yet for every collection I would have to deploy a new contract. I want to avoid this.
Is this covered by ERC1155?
Upvotes: 0
Views: 1255
Reputation: 43521
(A) Mint 1/1 NFTs
(B) Mint 1/N NFTs (say, for instance, 100 in total of the same NFT)
Both options are in accordance with the ERC-1155 standard.
The ERC-1155 defines a collection of tokens, where each token has an ID and an amount (specified as a value
in the standard). Which means, you can have for example:
Upvotes: 2