Sign In

@itechsmart/prooflink

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@itechsmart/prooflink

ProofLink SDK — the Trust & Accountability Layer for Autonomous AI (iTechSmart). Verify Ed25519-signed, Bitcoin-anchored receipts and fetch from the live public ledger. Zero runtime deps.

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

npm license ledger

The TypeScript SDK for ProofLink — the Trust & Accountability Layer for Autonomous AI, by iTechSmart Inc.

Every autonomous AI action seals a cryptographic receipt — SHA-256 hash-chained, Ed25519-signed, Bitcoin-anchored via OpenTimestamps — into a public ledger. This SDK verifies those receipts and reads the live ledger, with zero runtime dependencies (Node 18+ built-in crypto + fetch).

Don't trust the AI. Trust the math.

Install

npm install @itechsmart/prooflink

Verify a real receipt in 5 lines

import { fetchAndVerify } from "@itechsmart/prooflink";

const result = await fetchAndVerify("107453ec5eadf445");  // any id on the public chain
console.log(result.valid);   // true
console.log(result.checks);  // [{name:"payload_consistency"|"hash", passed}, {name:"ed25519_signature", passed}, ...]

Or from the command line, no install:

npx @itechsmart/prooflink 107453ec5eadf445
npx @itechsmart/prooflink --stats

API

FunctionPurpose
verify(receipt)booleanOne-liner: true iff all crypto checks pass
verifyReceipt(receipt, prevHash?){valid, checks, errors}Full detail; schema-aware (v3 recomputes hash + canonical bytes; v2 binds via signature + signed-payload consistency)
fetchReceipt(idOrHash)Promise<Receipt>Pull a receipt from the public verifier
fetchAndVerify(idOrHash)Promise<{valid, checks, errors}>Fetch + verify in one call
stats()Promise<{total, chain_intact, ...}>Live ledger totals
recent(limit?)Promise<Receipt[]>Newest N receipts
sealRemote(endpoint, payload)Promise<Receipt>Thin remote-seal helper (sealing happens server-side; the private key never leaves the ledger host)
canonicalize, importEd25519PublicKey, PUBLISHED_PUBLIC_KEYPrimitives for advanced use

What gets verified

  • v3 receipts (current): SHA-256(canonical_bytes) === hash_sha256, canonical re-derivation (field-tamper detection), and Ed25519 signature over the canonical bytes.
  • v2 receipts (legacy, still on-chain): Ed25519 signature + signed-payload consistency (the v2 hash_sha256 is a ledger-internal chain link, not recomputable from the public form — so it is not asserted).
  • Optional chain-link check when you pass the previous entry's hash.

Receipts are additionally Bitcoin-anchored (OpenTimestamps), SCITT-compatible, and carry EU AI Act Article 12 clause mappings — see the public verification spec.

License

MIT © iTechSmart Inc. — ProofLink™ is a registered federal trademark of iTechSmart Inc.

Keywords

prooflink

FAQs

Package last updated on 03 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts