Typed SDK
Pilot package
No raw private data in public receipt
Developers
Blind Policy SDK

A typed integration surface for teams that want Blind Verification inside their own product without building proof verification glue from scratch.

SDK surface

Integrate with a typed client.

The repo now includes a pilot SDK package at packages/blind-policy-sdk. Public npm publishing should be claimed only after the package is published; today it is ready for private pilot distribution and enterprise integration review.

import { createBlindPolicyClient } from "@privatedao/blind-policy";

const client = createBlindPolicyClient({
  baseUrl: "https://api.privatedao.org/api/v1"
});

const result = await client.prove({
  workflowId: "customer-credit-case-001",
  privateInputs: {
    organizationId: "northstar-credit",
    subjectId: "customer-redacted-4381",
    membershipVerified: true,
    records: [{ amountUsd: 8800 }, { amountUsd: 9400 }, { amountUsd: 9200 }],
    riskScore: 84,
    liabilitiesUsd: 2400
  }
});

if (result.ok) {
  const verification = await client.verify(result.publicProofPackage);
  console.log(verification.message);
}
Typed client

Use `BlindPolicyClient` instead of hand-written REST calls.

Prove

Submit private inputs and receive a public proof receipt only if the policy passes.

Verify

Recompute the receipt hash and confirm whether the proof package was modified.

Pilot-ready

Prepared in-repo as `packages/blind-policy-sdk` for private registry or customer pilot distribution.

Developer path

Use SDK for product code, API console for quick validation.