2

I am trying to build a 'web2'/'weak' NFT staking system where NFTs are frozen in holder's wallets.

Currently, the tokens do not have any freeze authority set. Does this mean they cant be frozen by me currently? If so, Is it possible for users to interact with a program to change this?

Is it possible for me to freeze NFTs with JS somehow?

Thx

0

2 Answers 2

2

If the mint's freeze_authority is set to None then account freezing is permanently disabled.

Otherwise, you can use the SetAuthority instruction to change a Mint's freeze_authority

https://spl.solana.com/token#freezing-accounts

0

If the NFT is indeed a master edition or a print using the metaplex standard you can use the example from my answer here

How does one implement non-custodial NFT staking?

Otherwise, if it is a fungible token with metadata, you can directly use the freeze_authority as mention by @C_Oggoo

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.