Token Extensions and Their CLI flag
The testament of Paypal, Phantom, Solflare, Fluxbeam and a host of other top platform who are big supporters of these Token extensions drive the need for this article.
To every developer out there, this is your cue on getting started with Token extensions.
The first thing to know about token extension is that they are of 2 types: Mint and Account extensions.
Mint extensions are added on top of the original Solana Token Program and extend the abilities of tokens while account extensions are added on top of Solana accounts and add account related features.
Current mint extensions with their CLI flag:
Extension | CLI Flag |
--enable-close | |
--transfer-fee <basis points> <max fee> | |
--enable-non-transferable | |
--interest-rate <rate> | |
--enable-permanent-delegate | |
--transfer-hook <programID> | |
--enable-metadata | |
--metadata-address <accountId> | |
Confidential Transfers | --enable-confidential-transfers auto |
The current Account extensions include:
Extension | CLI Flag |
Included by default | |
enable-required-transfer-memos |
Last updated