This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
Helpers for adding or removing keys from a permission #206
Labels
enhancement
New feature or request
good first issue
Good for newcomers
question
Further information is requested
When rekeying a permission on an EOSIO account, an
updateauth
action must be issued. Newcomers often make the mistake of thinking that anupdateauth
will add a given key to their permission. They are surprised to find that it actually replaces the entire permission! For example, if you have three keys on the active permission and intend to add a fourth by issuing anupdateauth
for that permission containing only the new key, the other three keys will be removed!Usually, developers are trying to add or remove a given key or keys. Any thoughts on adding helpers for these actions to this SDK? Maybe
addKeys
orremoveKeys
methods? They would, of course, take parameters as necessary for the target permission, the weight, etc.The text was updated successfully, but these errors were encountered: