ModuleSDK
Accounts
installModule

installModule

Get the action to install a module on an account.

Usage

const action = await installModule({
  client,
  account,
  module,
});

Parameters

client

  • Type: PublicClient

The rpc client to use for the chain you want to install the module on.

account

The account object.

module

The module object.

Returns

action

The action to install the module on the account.