Closed lorisleiva closed 2 years ago
Basically simplifying the usage from this:
const url = await metaplex.value.storage().upload(new MetaplexFile(someFileBuffer, someFileName)); await metaplex.value.nfts().createNft({ metadata: { name: 'My NFT', description: 'My NFT description', image: url, // ... }, });
To this:
await metaplex.value.nfts().createNft({ metadata: { name: 'My NFT', description: 'My NFT description', image: new MetaplexFile(someFileBuffer, someFileName), // ... }, });
No longer relevant since #33
Basically simplifying the usage from this:
To this: