Skip to main content

Module package

Module package 

Source
Expand description

.treeship package builder and reader.

A .treeship package is a directory (or tar archive) containing:

  • receipt.json – the canonical Session Receipt
  • merkle.json – standalone Merkle tree data
  • render.json – Explorer render hints
  • artifacts/ – referenced artifact payloads
  • proofs/ – inclusion proofs and zk proofs
  • preview.html – static preview (optional)

Structs§

PackageOutput
Result of building a package.
VerifyCheck
A single verification check result.

Enums§

PackageError
Errors from package operations.
VerifyStatus
Status of a verification check.

Functions§

build_package
Build a .treeship package directory from a composed receipt.
read_package
Read and parse a .treeship package from disk.
verify_package
Verify a .treeship package locally.