ModuleSDK
Modules
getSocialRecoveryValidator

getSocialRecoveryValidator

Get the social recovery validator module object.

Usage

const module = getSocialRecoveryValidator({
  threshold: 2,
  guardians: ["0x123..."],
});

Parameters

threshold

  • Type: number

The threshold for the social recovery account.

guardians

  • Type: Address[]

The addresses of the guardians for the account.

hook (optional)

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

Returns

module

The social recovery module object.