how can I mint new token when my supply exceeds 2 ^^ 64 / 10 x decimals tokens? Or are there any methods to reduce decimals? Help me please


2 Answers 2


I don't think you can, any token mint's maximum supply is 2^64 - 1 since its type is u64


When creating a new token using the SPL Token CLI you can specify the number of decimals using the --decimals argument.

 % spl-token create-token --decimals 2

Creating token GrnPLdqszDQaYEunJBAW7c8gTmqrcZzqEzFK8F9YGE3e under program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA

Address:  GrnPLdqszDQaYEunJBAW7c8gTmqrcZzqEzFK8F9YGE3e
Decimals:  2

Now you can mint up to $\frac{2^{64} - 1}{2}$ tokens.

 % spl-token create-account GrnPLdqszDQaYEunJBAW7c8gTmqrcZzqEzFK8F9YGE3e                                                                                                                   
Creating account B34DJ8ymK9GbRCMMEn1pwobrruCd8ek5KWtWHkmCWxLR

 % spl-token mint GrnPLdqszDQaYEunJBAW7c8gTmqrcZzqEzFK8F9YGE3e 18446744073709551615                                                                                                        
Minting 18446744073709552000 tokens
  Token: GrnPLdqszDQaYEunJBAW7c8gTmqrcZzqEzFK8F9YGE3e
  Recipient: B34DJ8ymK9GbRCMMEn1pwobrruCd8ek5KWtWHkmCWxLR
  • 1
    I mean can I change decimals for existing token? How can I mint them if its supply exceeds 2^64/10*decimals tokens? Commented Jan 5 at 1:36

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.