Admin Overview
The Admin is the entity that creates, manages, and holds ownership of the Agent Wallet. They are responsible for:
- Managing PKPs (Agent Wallets)
- Managing delegatees
- Managing tools
- Setting and managing policies
Transferring Ownership of the Agent Wallet
To transfer the ownership of the Agent Wallet, you can use the transferPkpOwnership method. This will send the PKP to the new Admin's address specified in the execution parameters.
Creating a New Agent Wallet
To create a new Agent Wallet, you can use the mintPkp method. This will mint a new PKP to the Admin's wallet address and save it in localStorage.
Viewing Owned Agent Wallets
To see the Agent Wallets that the Admin owns, you can use the getPkps method. This will return an array of PKP metadata that the Admin owns.
Viewing Information About an Agent Wallet
To retrieve information about a specific PKP by its token ID, you can use the getPkpByTokenId method. This will return the metadata for the specified PKP.
Additional Documentation
For more detailed information about specific admin functionalities, please refer to:
- Delegatee Management - Learn about adding, removing, and managing delegatees
- Tool Management - Learn about registering, permitting, and managing tools
- Policy Management - Learn about setting and managing policies for tools and delegatees