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

solana: Allow transferring mint authority #570

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

nvsriram
Copy link
Collaborator

@nvsriram nvsriram commented Dec 3, 2024

This PR adds:

  • Two ways to transfer out mint authority like transfer_ownership:
    • One step version: set_token_authority_one_step_unchecked ix
    • Two step version: set_token_authority and claim_token_authority ix (and revert_token_authority to reset authority back to token_authority)
  • createSetTokenAuthorityInstruction helper function in NTT namespace
  • Update IDL

@nvsriram nvsriram linked an issue Dec 3, 2024 that may be closed by this pull request
@nvsriram nvsriram marked this pull request as ready for review December 3, 2024 21:29
kcsongor
kcsongor previously approved these changes Dec 6, 2024
Copy link
Contributor

@kcsongor kcsongor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice!

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

Successfully merging this pull request may close these issues.

solana: Allow transferring mint authority from the NTT Manager
2 participants