AffixIO SDK 2.0.4

One SDK. Choose the proof your check needs.

Install affixio for Node.js 20 or later. The package supports local UltraHonk zero-knowledge proofs and HMAC proof envelopes, with different verification assumptions.

Zero-knowledge proof mode

UltraHonk

Use a supported Noir circuit to prove that its constraints were satisfied. Proof generation runs in your application environment using Barretenberg.

  • Requires the appropriate circuit and proving artifacts
  • Proves the circuit relation, not every fact about the source
  • Runtime and memory depend on the circuit and host
UltraHonk configuration

Authenticated evidence mode

HMAC

Bind a decision to an authenticated local envelope. This mode is useful where the integration accepts the producer and shared-secret trust model.

  • Does not create a zero-knowledge proof
  • Authenticity depends on protecting the verification secret
  • Do not expose shared secrets in a public browser
Local proof and verification

Compare the verification boundary

Two modes in affixio 2.0.4
QuestionUltraHonkHMAC
What is checked?The configured circuit relationThe authenticity and integrity of a keyed envelope
Is it zero knowledge?Yes, for the supported ZK circuit and proof pathNo
Where is it produced?Your application hostYour application host
Does it establish source truth?Only the relation proved over the supplied inputsOnly the recorded decision and its authenticated envelope
Does it replace payment authorisation?NoNo

Keep the layers distinct

A proof, a signature and an audit entry answer different questions. A proof checks a relation. A signature binds evidence to a signing key. Merkle inclusion shows that a digest belongs to a particular audit root. None makes an inaccurate source record correct.

Trust model (SDK 2.0.4): verification fails closed against pinned keys (trustedSigningKeys; fetchAffixioKeys with expectedKeys via /v1/keys). POST /api/attest returns server_verified:false and is not proof of validity; use POST /v1/attest/proof or verify with requestAttestation: true. The server Merkle root is unsigned and holds a rolling 50,000 leaves. 1.x is deprecated for a security flaw; upgrade to 2.0.x. Details: /docs/#trust-model.

ML-DSA-65 is the post-quantum signature layer. That does not make every component of the proof system post-quantum secure. Review the security documentation and published NIST alignment against your requirements.

Connect the source you already use

The SDK can check configured database records, HTTP JSON services and file exports. Keep source access in your service, handle an unavailable source separately from a failed check, and retain the policy and evidence references needed to explain the decision.

See SQL, API and file examples. For an agent workflow, continue to Agentic Pay Kit or BoundProof Agent.

SDK questions

Which npm package should I install?

Install affixio. The current release is 2.0.4 and requires Node.js 20 or later. UltraHonk and HMAC are modes in this package, not two separate SDK products.

Can I run the SDK in a public browser?

The published package targets Node.js. A browser interface can call your trusted backend. Keep SDK API keys, payment secrets and shared verification secrets on that backend.

Does offline verification need a fresh API request?

The SDK includes local verification and offline evidence utilities. Whether an operation also needs a licence, quota check or later synchronisation depends on the selected workflow. Follow the documentation for that operation.

affixio on npm · Plans and proof allowances · API reference

Evidence matters more than the model label

AI, SI and ASI terminology does not change the trust assumptions of an evidence mode. A shared-secret record, zero-knowledge proof and signed attestation establish different facts. Select the mode and trusted keys for the defined check, not because an assistant is marketed as personal superintelligence.

AI, superintelligence (SI), ASI and personal superintelligence: terms and boundaries

Free proof allocations

Agents get 150 free proofs. Humans get 100. No card required.

AI agents receive 150 free AffixIO SDK proofs on BoundProof Agent provision. Eligible new Hub account holders (humans) can claim one allocation of 100 free SDK proofs to test AffixIO verification, agentic payment checks, transaction intent proof and signed yes, no or review outcomes.

Terms: one allocation per account holder, per person or business owner. No card is required. Proofs expire after 30 days. Duplicate, shared, automated or abusive signups may be refused or removed. Agents: /boundproof/agent/. Humans: Hub onboarding with offer params.

See free proofs split