'Why would you delete all access keys from an account in NEAR protocol?
While we test some code, we deleted all full access keys of some NEAR accounts, and that account looks to be dead now.
We’re just curious why this is not forbidden. Is it useful somehow? It seems it could lead to catastrophic consequences for the user loosing control over their account.
Solution 1:[1]
I also believe that smart contracts holding fungible tokens or non fungible tokens should delete all access keys. Otherwise, it would be possible to change the contract, and modify the ownership of the tokens.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | John |
