0

In EOS, smart contracts can be updated by the account owner.

This could be a problem for certain applications in finance. For instance, if I want to deploy a token, the transfer function should be non-updatable. And in general, I want, as a developer, that the entire smart contract cannot be updated to guarantee reliability. So, users have to trust the smart contract only and not also the developer, hoping that updates are not malicious.

Is there a solution for this?

1 Answer 1

0

You can..

Create a token on an existing token contract where it's administered by a trusted party.

Or,

Create your own token contract then remove the keys from the account, therefore making it possible to update.

2
  • It's difficult to find a trusted party… I think it's the same of administrating the account by yourself. And if I'm not wrong, the second option is like doing nothing since if I have the control of my account I can also add the keys again.
    – ChJ4m3s
    Commented Oct 22, 2021 at 9:06
  • No, if you remove the keys that's it, you can't add the keys back again. Commented Oct 23, 2021 at 12:23

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.