1

How can I create a SPL token with the both the confidential transfer and transfer fee extensions?

1 Answer 1

0

You simply need to include the instructions to initialize both extensions before you initialize the mint. If you're using the CLI, that would be:

$ spl-token create-token \
  --enable-confidential-transfers auto \
  --transfer-fee 10 11 \
  --program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb

You can mix and match any extensions that you want in your mint!

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.