Tooling
Module SDK
Modules
getOwnableValidator

⚠️ 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)

getOwnableValidator

Get the ownable validator module object.

Usage

const module = getOwnableValidator({
  threshold: 1,
  owners: ['0x123...'],
})

Parameters

threshold

  • Type: number

The threshold for how many owners are required to validate.

owners

The list of owners.

hook (optional)

The address of the hook to use. This is only required for the Kernel account.

Returns

module

The ownable validator module object.