ModuleSDK
Regsitry
getTrustAttestersAction

getTrustAttestersAction

Gets the action to have a user trust a set of attesters on the Registry.

Usage

const action = getTrustAttestersAction({
  threshold: 1,
  attesters: [RHINESTONE_ATTESTER_ADDRESS],
});

Parameters

threshold

  • Type: number

The minimum number of attesters that need to attest to a module for the user to trust it.

attesters

The addresses of the attesters that the user will trust.

Returns

The action to add trust the attesters.