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

token-2022: Add support for Non-Transferable Tokens (NTTs) - NonTransferableMint extension #3178

Merged
merged 9 commits into from
May 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs
  • Loading branch information
Juan Oxoby authored and mvines committed May 17, 2022
commit 3fe7acc3ffb2164d755c2b9975425b721dd1474b
11 changes: 11 additions & 0 deletions token/program-2022/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,17 @@ pub enum TokenInstruction<'a> {
/// 2. `[]` System program for mint account funding
///
CreateNativeMint,
/// Initialize the Transfer Disabled extension for the given token account
///
/// Fails if the account has already been initialized, so must be called before
/// `InitializeAccount`.
///
/// Accounts expected by this instruction:
///
/// 0. `[writable]` The account to initialize.
///
/// Data expected by this instruction:
/// None
///
InitializeTransferDisabled,
}
Expand Down