Page cover image

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:

Last updated