Initial import of zapier-user-docs from zapier monorepo

This commit is contained in:
George Lambert 2026-09-11 14:37:09 -04:00
commit 5fb12a2fe3
16 changed files with 298 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# 8. Bulk Merkle summaries
**Create Batch Timestamps** takes one payload per line (or an `items[]` array).
Middleware:
1. SHA-256 each item (leaf).
2. Build a Merkle tree.
3. Seal **only the root** on the main Verae chain (one certificate, one `jobId`).
4. Put each leafs **inclusion proof** on a sharded **tree-node** archive (`kind: tree`).
5. Return `jobId`, `merkleRoot`, `leafCount`, and the leaf hashes.
Those member hashes are **not individually itemized** on the main chain. Looking them up with **Find Timestamp by SHA256** returns empty. That is expected.
Why batch: one chain write for thousands of documents, cheaper and faster, while each document can still prove inclusion later via its proof + the root certificate.
Simulator: scenario **Batch Merkle**, then copy the first leaf into the SHA256 field.