Skip to content

CrossSystemValidator

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / CrossSystemValidator

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:1833

CrossSystemValidator

Validates that proofs from different ZK systems can be correctly composed together.

const validator = new CrossSystemValidator()
const report = validator.validate([noirProof, halo2Proof])
if (!report.valid) {
console.log('Validation errors:', report.checks.filter(c => !c.passed))
}

new CrossSystemValidator(options?): CrossSystemValidator

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:1836

ValidationOptions

CrossSystemValidator

validate(proofs, options?): ValidationReport

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:1840

Validate proofs for cross-system composition

SingleProof[]

ValidationOptions

ValidationReport


validateComposed(composedProof, options?): ValidationReport

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:1844

Validate a composed proof

ComposedProof

ValidationOptions

ValidationReport


areSystemsCompatible(system1, system2): boolean

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:1848

Quick check if two systems are compatible

ProofSystem

ProofSystem

boolean


getSystemInfo(system): SystemInfo | undefined

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:1852

Get system information

ProofSystem

SystemInfo | undefined