Terminal-3/z-tenant-flight — a Duffel flight booking contract — as a worked example throughout.
What is z-namespace?
Thez: namespace is T3N’s tenant data layer. Every map and every registered contract you create as a tenant lives under z:<tid>:…, where <tid> is the 20-byte lowercase hex suffix of your tenant DID.
<tid>. There is no ACL misconfiguration that can break this — the check runs inside the TDX enclave at every transaction.
What T3N guarantees:
- Your maps are inaccessible to other tenants and to system contracts.
- User PII (
usersmap) is unreachable to your contract’s direct reads — PII flows through thehttp-with-placeholdershost interface, which substitutes it into outbound requests inside the enclave (see Placeholders in outbound calls). - Every operation your contract performs lands in the cluster’s append-only audit log with your tenant DID as a first-class field.