Tooling
Module SDK
Accounts API
installModule

⚠️ Deprecation Notice

ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.

Rhinestone SDK Documentation (opens in a new tab)

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.