1

I'm a beginner, and I'm learning the close mint part of the token extension program. I want to understand how to mint an amount of tokens then close mint (not allowed to mint any more tokens)

Thank you so much!

1 Answer 1

0

You can create a token like this:

spl-token create-token --program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
spl-token mint yourmint 100

Then you can disable the mint like so:

spl-token authorize yourMint mint --disable

Find a guide here that also includes on how to add meta data: https://solana.com/developers/guides/getstarted/how-to-create-a-token

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.