Skip to content

pluginManagerActions

Provides actions for managing plugins on a given client, including installing and uninstalling plugins. NOTE: this is provided by default when using a modular account client

Import

import { pluginManagerActions } from "@account-kit/smart-contracts";

Usage

import { pluginManagerActions } from "@account-kit/smart-contracts";
import { createSmartAccountClient } from "@aa-sdk/core";
 
const client = createSmartAccountClient(...).extend(pluginManagerActions);

Parameters

client

Client<TTransport, TChain, TAccount> The client instance on which to manage plugins

Returns

PluginManagerActions<TAccount> An object containing functions to install and uninstall plugins