1

Like spl-token authorize <TOKEN_ADDRESS> mint --disable is there any way I can disable the transfer of the token making it an EVM equivalent of Soulbound Tokens (SBT)?

1 Answer 1

0

You can freeze a token account if you have the freeze-authority

spl-token freeze ...

transfers cannot be made from the frozen account. You can thaw the account to unfreeze it.

docs are here: https://spl.solana.com/token

2
  • Thanks, but there’s a little catch that token should be created with --enable-freeze Sep 22, 2022 at 10:16
  • Of course. So if its your own token, you can choose to do that. Or not :) Sep 23, 2022 at 7:04

Your Answer

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

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