Skip to main content

Admin Overview

The Admin is the entity that creates, manages, and holds ownership of the Agent Wallet. They are responsible for:

  1. Managing PKPs (Agent Wallets)
  2. Managing delegatees
  3. Managing tools
  4. 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: