Skip to content
LogoLogo

setVpPolicies

Set the checks applied to the presentation as a whole.

Where VC policies check individual credentials, these check the presentation: that the holder is bound to it, that it satisfies the definition, that it carries enough credentials. Parameterised policies take an args value.

Usage

import {  } from '@deltadao/nautilus'
 
.(., [ 
  'holder-binding', 
  'presentation-definition', 
  { : 'minimum-credentials', : '1' } 
]) 

Returns

The asset builder instance, to chain further calls with.