0

I have recently started learning about solana development and realised that solana accounts created by solana programs are mutable. Is there any way we can make them immutable? Also can you please refer me some resources where I can learn how to do it using anchor if it is possible?

1 Answer 1

2

As long as a program is mutable, the program's accounts are also effectively mutable. This is because the program's upgrade authority has the ability to update the program at any time with new instructions to modify the program's accounts.

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.