Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Standard Delegate with Update Authority? #132

Open
vfr292 opened this issue Aug 7, 2024 · 2 comments
Open

Create Standard Delegate with Update Authority? #132

vfr292 opened this issue Aug 7, 2024 · 2 comments

Comments

@vfr292
Copy link

vfr292 commented Aug 7, 2024

Hi,

Using a token's update authority I'm running:

  await delegateStandardV1(umi, {
    mint: mint.publicKey,
    tokenOwner: owner.publicKey,
    authority: update_authSigner, //note update authority
    delegate: standardDelegate.publicKey,
    tokenStandard: TokenStandard.FungibleAsset,
  }).sendAndConfirm(umi);

But getting an error:

IncorrectOwner: Incorrect account owner

When I use the tokenOwner's authority the error is resolved. I'm confident I have the update authority as I can use it to update the token. From the DelegateStandardV1InstructionAccounts (see below) it looks like I should be able to use the update authority:

    /** Update authority or token owner */
    authority?: Signer;

Is this a problem/bug or am I missing something? This is my first Metaplex project. Please let me know if more code would be helpful or if there is anything else I can provide.

Thank you :)

@cd11103
Copy link

cd11103 commented Sep 10, 2024

hi @vfr292 do you have any solution on this? I am trying to unlock/thaw the nft but it seems like the standarDelegate is the PDA i not sure how to sign the PDA.

@vfr292
Copy link
Author

vfr292 commented Sep 12, 2024

Hi, no solution :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants