A Developer's Guide To Everything Token Extension
  • Introduction To Token Extension
  • Token Extensions and Their CLI flag
  • Brief Overview Of Each Token Extension
  • How To Create A Token Using Token Extension
  • How To Mint With Token Extensions
  • How To Make Token Accounts Immutable
  • Deploying a token with Token Extensions
  • Top Projects Using Solana T2022
  • Benefits Of Token Extension
  • Conclusion
Powered by GitBook
On this page

How To Create A Token Using Token Extension

As a smart developer, now that you know what token extensions are available, you can create your new token with token extensions with the following command:

spl-token --program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb \ create-token <extension flags>

P.S: With token extensions, you can mix and match based on what you need for your project. For example, if you wanted a token with transfer fees and a custom metadata, you would just use the following command to combine the extensions:

spl-token --program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb \ create-token --interest-rate 5 --enable-metadata

Far from Creating tokens using token extension, you’ll also learn how to mint, and change settings for tokens, as well as how to make them immutable and remove all authorities.

Let’s get to it:

PreviousBrief Overview Of Each Token ExtensionNextHow To Mint With Token Extensions

Last updated 11 months ago

Page cover image