- Creating API Wallets
- Signing transactions
- Deploying and interacting with tokens
- Invoking smart contracts and querying chain state
Wallet Configuration
You can configure AgentKit to use a CDP wallet or a custom wallet provider.The CDP Wallet API is the default wallet provider for AgentKit. It is configured with an API key and optional network ID. You can find a list of supported networks here.Configuring from an existing CDP API WalletIf you already have a CDP API Wallet, you can configure the Configuring from a mnemonic phraseThe Exporting a walletThe Importing a wallet from
CdpWalletProvider
by passing the wallet
parameter to the configureWithWallet
method.CdpWalletProvider
can be configured from a mnemonic phrase by passing the mnemonicPhrase
parameter to the configureWithWallet
method.CdpWalletProvider
can export a wallet by calling the exportWallet
method.WalletData
JSON stringThe CdpWalletProvider
can import a wallet from a WalletData
JSON string by passing the cdpWalletData
parameter to the configureWithWallet
method.Default Operations
By default, AgentKit supports the following basic wallet operations:get_wallet_details
- Get details about the Wallet, like the addresstransfer
- Transfer assets between addressesget_balance
- Get the balance of an asset