Open VTTruong287 opened 6 months ago
hi ser any solution?
my solution is: leave commonContent empty and add option param onchainContent: true when deployNftCollection
const collection = await sdk.deployNftCollection(
{
collectionContent: content,
commonContent: ''
},
{
adminAddress: adminAddress,
onchainContent: true
}
);
I have a problem with
commonContent
. I cannot load metadata of NFT item when usedeployNftCollection
with NOT emptycommonContent
, but it work whencommonContent = ''
.Can you guy help me explain about this case? Many thanks :)
Here is my code:
Deploy NFT Collection
Deploy NFT Item: