Skip to main content
Version: v1.0

Proofs & Anchors

After consent is recorded on the live ledger, Sammati builds verifiable evidence: Merkle proofs, signed Evidence Link JWTs, and RFC 3161 timestamps. APIs: API Reference (Proofs, Anchors, Audit).


Overview​

consent.event
→ Merkle seal → proof.ready
→ Evidence Link JWT → evidence.link.issued
→ RFC 3161 TSA timestamp → proof.anchor_confirmed
LayerWhat you get
Merkle proofCryptographic inclusion of the event in a batch root
Evidence Link JWTSigned per-event receipt (EdDSA); use receipt_path / JWKS
TSA timestampIndependent RFC 3161 time bound to the Merkle root

Do not treat grant HTTP 200 as a signed receipt. Wait for evidence.link.issued (or fetch the receipt API).


Proof generation​

Proofs are async — not in the same HTTP response as consent writes.

StatusMeaning
PENDINGQueued or building
READYMerkle proof available via API

Webhook: proof.ready when proof metadata is readable.

SDK methodPurpose
client.proofs.getEventProofProof for one event
client.proofs.getConsentProofsProofs for a consent
client.proofs.getProofBatchBatch metadata

Verification (Merkle)​

Confirm an event is included in a published batch root:

await client.proofs.verify({ /* proof payload */ });

After the Merkle seal, Sammati issues a signed Evidence Link JWT.

Webhookevidence.link.issued (receipt_path, jwks_path, merkle_root)
VerifyFetch JWKS and validate the JWT (EdDSA)

Subscribe to evidence.link.issued if your compliance flow needs signed per-event receipts.


Timestamping (TSA)​

Batch roots are timestamped with an RFC 3161 Time Stamp Authority. When stored, Sammati emits proof.anchor_confirmed.

SDK methodPurpose
client.anchors.getMetaTimestamp / anchor metadata
client.anchors.getLedgerAnchorStored receipt for a batch
client.anchors.getLedgerHistoryHistorical receipts
client.audit.batchAnchorCompare ledger batch vs stored receipt

In the portal, use Platform health / live verification panels.


Evidence layers (what auditors use)​

LayerEvidence
Consent ledgerVersioned records + append-only events
Merkle batchRoot + inclusion proof
Evidence Link JWTSigned receipt for the event
TSARFC 3161 token bound to the root

In the Company Portal, open a subject under Evidence to see the trust stack (Merkle + JWT + TSA).

Evidence trust stack


Test vs Live​

Test (smm_test_)Live (smm_live_)
Consent recordingYesYes
Proof generationLimited — SandboxFull pipeline
Evidence Link JWT + TSANot a compliance artifactFull pipeline
Portal verificationIntegration healthPlatform health + live verification

Always validate proofs with a live key in staging before production go-live. In the portal: Platform health.


Next steps​