Reputation: 165
I want to create a collection where i can add nfts manually afterwards. I would like to use the Metaplex sdk, but other libraries are welcome too.
Upvotes: 0
Views: 390
Reputation: 848
There are basically two steps that you have to take:
const { nft } = await metaplex.nfts().create({
uri: "https://arweave.net/123",
name: "My NFT",
sellerFeeBasisPoints: 500, // Represents 5.00%.
});
metaplex
.nfts()
.migrateToSizedCollection({ mintAddress, size: toBigNumber(10000) });
metaplex.nfts().verifyCollection({mintAddress, collectionMintAddress, isSizedCollection: false})
Upvotes: 0