2

I need to update the authority of an NFT collection (authority on the metadata account). So when I use metaplex.nfts().update(), I need to sign a transaction for every NFT.

How can I make all updates in one transaction? thanks

1
  • I can't use metaboss because I'm making an online solution.
    – Jrb
    Jul 15, 2022 at 10:06

1 Answer 1

2

Thank you for adding the metaboss comment since this would have been my first proposal.

Doing it with signing once will not work most likely. What you could do is look what the SDK is doing to build the transaction and modify it so that

  1. you can put multiple change update authority instruction into one tx
  2. you can group multiple unsigned transactions into an array and then run signAll to sign all of them.

But even when doing this you would could not send all of those transactions for a 10k NFT collection at the same time to the chain.

2
  • nice thank you for your message. What do you think if I go with fetching all metadata accounts and use the solana sdk to update the authority?
    – Jrb
    Jul 15, 2022 at 10:47
  • 1
    Sure, that’s a valid approach! Jul 16, 2022 at 11:03

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.