How to change AppAgent Owner
Intro
The transfer of ownership for an AppAgent involves three steps:
Initiation: The current owner of the AppAgent initiates the process by calling the
change_owner_init
function, providing:The ID of the AppAgent
The account ID of the new owner.
Completion: Once the initiation is successful, the new owner completes the process by calling the
change_owner_complete
function, providing:Their account ID
The ID of the AppAgent.
Cancellation: If the ownership transfer is no longer desired, the current owner can cancel the process by calling the
change_owner_cancel
function, providing the ID of the AppAgent. This clears the proposed owner field.
Prerequisites
Ensure the caller address is the owner of the AppAgent
Ensure the proposed new owner is a regular address (not a keyless address) and that it has tokens to pay for transaction fees.
Change owner
Cancel change owner request
Discover more:
Last updated