How can I make smart contract non-upgradeable

61 Views Asked by At

Is there a way to make a smart contract NON-upgradeable on Near?

By default I can always overwrite a contract at an account address. This is different from Ethereum where after deployment the contract gets a new address after which it is by default non-upgradeable.

1

There are 1 best solutions below

1
sgraphics On BEST ANSWER

Contract can be locked by removing the full-access key:

https://docs.near.org/develop/deploy#locking-a-contract