0

EOSIO account can create additional keys beyond just active and owner. By default, these new keys will have no permission to execute any transaction whatsoever. To give the key permission you call the eosio function linkAuth and supply it with:

  1. The account in question
  2. The account's key to grant permission
  3. The contract we are allowing the key to call
  4. The function in the contract we are allowing the key to call

What confuses me is that when calling unlinkAuth, you do not need to supply the key you would like to revoke the permissions for.

Does this imply linking a single contract function with many keys is not supported in the current version of eos?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.