0

how can I print an edition NFT that is mutable?

I'd like to be able to easily update metadata on printed nfts or nfts in a collection. But when I use printV1 it sets the edition to non mutable

const meta = await fetchMetadataFromSeeds(umi, {
        mint: publicKey(masterPublicKey),
    })

    // Generate transaction instructions for creating an edition NFT
    const mint = generateSigner(umi);
    const createNftInstructions = await printV1(umi, {
        masterTokenAccountOwner: treasury,
        masterEditionMint: nfts[nftName].publicKey,
        editionMint: mint,
        editionMintAuthority: treasury,
        editionTokenAccountOwner: publicKey(userPublicKey),
        updateAuthority: treasury.publicKey,
        editionNumber: BigInt(masterEdition.supply) + BigInt(1),
        tokenStandard: TokenStandard.NonFungible,
    }).getInstructions();

 // run logic

so when I call updateV1 I get an error

const meta= await fetchMetadataFromSeeds(umi, { mint: publicKey(editionPubKey) })

    const update = await updateV1(umi, {
        mint: publicKey(meta.publicKey),
        authority: treasury,
        data: { ...initialMetadataT },
    }).sendAndConfirm(umi)

1 Answer 1

3

Metaplex Token Metadata Editions are always immutable.

Metaplex Core Editions (The latest standard) can be mutable though. Maybe it's worth considering to use the new standard?

2
  • core github states: "Metaplex Core is currently undergoing audit. Use in production at your own risk."
    – mstelz
    Commented Apr 25 at 18:46
  • The audit was finished in the meantime Commented Jun 26 at 18:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.