Skip to content

NoirProviderConfig

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / NoirProviderConfig

Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:243

Noir Proof Provider Configuration

optional artifactsPath: string

Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:248

Path to compiled circuit artifacts If not provided, uses bundled artifacts


optional backend: "barretenberg"

Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:253

Backend to use for proof generation

'barretenberg' (UltraHonk)

optional verbose: boolean

Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:258

Enable verbose logging for debugging

false

optional oraclePublicKey: PublicKeyCoordinates

Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:264

Oracle public key for verifying attestations in fulfillment proofs Required for production use. If not provided and strictMode is true, fulfillment proof generation will throw an error.


optional strictMode: boolean

Defined in: @sip-protocol/sdk/dist/noir-DKfEzWy9.d.ts:278

Enable strict mode for production use

When true:

  • Fulfillment proofs require configured oraclePublicKey
  • Missing configuration throws errors instead of warnings

When false (default):

  • Placeholder keys are used when oraclePublicKey not configured
  • Warnings are logged for missing configuration
false