Skip to main content

16 docs tagged with "token extensions"

View All Tags

Getting Started with Token Extensions

With the new token extensions, you can create custom logic for your tokens. In this guide we will go over everything you need to know about token extensions and what you need to get started building today

How to use the Immutable Owner extension

With the Token program, the `SetAuthority` instruction can be used to transfer ownership of an account to another. The `ImmutableOwner` extension can be used to prevent this.

How to use the Metadata Pointer extension

The Metadata Pointer extension enables a Mint Account to specify the address of the account that stores its metadata. When used along with the Metadata Extension, metadata can be stored directly on the Mint Account.

How to use the Non-transferable extension

In the world of digital collectibles, NFTs have plenty of uses outside of the PFP meta. Enter the concept of 'soul-bound' tokens - assets that are tied to an individual and cannot be transferred.

How to use the Permanent Delegate extension

Token Extensions allow you to specify a permanent account delegate for a mint with unlimited delegate privileges over any account associated with that mint, including burning or transferring any amount of tokens.

How to use the Reallocate instruction

The Token Extensions program has an account extension that can be applied after initializing a Token Account, enabling expanding support for more extensions after initial creation.

How to use the Required Memo token extension

Memos in financial transactions serve as a communication tool between sender and recipient. It aids in the identification of both parties and offers clarity on the purpose of the transfer.

How to use the Transfer Fee extension

With any form of transaction, there's often a desire to collect or apply a fee. Similar to a small service charge every time you transfer money at a bank or the way royalties or taxes are collected for particular transfers.

How to use the Transfer Hook extension

The Transfer Hook extension and Transfer Hook Interface introduce the ability to create Mint Accounts that execute custom instruction logic on every token transfer.

Program Examples

A list of Solana program examples in different languages and frameworks, which can help you learn and use as reference for your own projects.