thirdweb's Edition contract lets you mint multiple NFTs based on the same file.
Each of the NFTs share the same ID and same image, but now you can have multiple of them. This type of NFT is also called one-of-many with ERC-1155.
Loading...
export default function Edition() {const { contract: editionContract } = useContract("<your-contract-address-here>");const { data: nfts } = useNFTs(editionContract);return (<div>{nfts?.map((nft) => (<div key={nft.metadata.id.toString()}><ThirdwebNftMediametadata={nft.metadata}/><h3>{nft.metadata.name}</h3><p>Quantity: {nft.supply}</p></div>))}</div>);}