coral-xyz / anchor

⚓ Solana Sealevel Framework
https://anchor-lang.com
Apache License 2.0
3.5k stars 1.3k forks source link

How to define extensions non_transferable? #3088

Open verzth opened 1 month ago

verzth commented 1 month ago

Need sample for extensions non_transferable, cannot found here

https://github.com/coral-xyz/anchor/blob/master/tests/spl/token-extensions/programs/token-extensions/src/instructions.rs

acheroncrypto commented 1 month ago

It's not supported from constraints currently, but I'm planning to add it soon.