@affix-io/sdk-light

SDK Light for ordinary devices.

Millisecond local prove without UltraHonk. AffixIO still attests digests with ML-DSA-65 and Merkle audit.

Install

npm install @affix-io/sdk-light

Built for phones, kiosks, browsers via host apps, and laptops where UltraHonk is too heavy.

How it differs from affixio

  • Local prove uses AffixIO Light HMAC-SHA256, not UltraHonk / Noir / bb.js.
  • Dependencies stay on Node crypto, plus optional QR libraries.
  • AffixIO sync focuses on digest attest and Merkle by default.
  • Light proofs are not SNARKs. They bind a yes or no decision and witness with a shared light key.

Minimal setup

import { AffixLightSDK } from "@affix-io/sdk-light";const sdk = new AffixLightSDK({ apiKey: process.env.AFFIX_API_KEY });

Signing behaviour

Every proof is ML-DSA-signed individually at AffixIO. Auto-flush adapts with ingest rate: about every second, with higher batch ceilings when traffic rises above 20 proofs per second.

@affix-io/sdk-light questions

Millisecond prove, edge fit, and attestation on sync.

Is @affix-io/sdk-light a zero-knowledge SNARK?

No. SDK Light uses AffixIO Light HMAC proofs in milliseconds. AffixIO still verifies, applies ML-DSA-65 attestation, and anchors Merkle audit on sync.

What hardware fits SDK Light?

Phones, kiosks, POS terminals, and ordinary servers where UltraHonk runtime cost is unacceptable but post-quantum attestation is still required.

How fast is SDK Light prove?

Millisecond local prove using Node crypto only. Adaptive flush to api.affix-io.com runs about every 1 second with higher batch ceilings under heavy ingest.

What CLI ships with SDK Light?

affix-sdk-light binary after npm install @affix-io/sdk-light. Defaults to https://api.affix-io.com.