@affix-io/sdk-light
SDK Light for ordinary devices.
Millisecond local prove without UltraHonk. Affix still attests digests with ML-DSA-65 and Merkle audit.
Install
npm install @affix-io/sdk-lightBuilt for phones, kiosks, browsers via host apps, and laptops where UltraHonk is too heavy.
How it differs from @affix-io/sdk
- Local prove uses Affix Light HMAC-SHA256, not UltraHonk / Noir / bb.js.
- Dependencies stay on Node crypto, plus optional QR libraries.
- Affix 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 Affix. Auto-flush adapts with ingest rate: about every second, with higher batch ceilings when traffic rises above 20 proofs per second.
Package listing: npmjs.com/package/@affix-io/sdk-light.