Skip to main content

Overview

TEE contracts execute as WebAssembly (WASM) components within a sandboxed Wasmtime runtime hosted by a T3N node. By default they have no access to the operating system, network, filesystem, clock, randomness, or any other system resource — only to what a strongly typed Host API, implemented with the WASM Component Model, explicitly exposes, and every interface is gated by its own authorisation check.
If a capability is not defined in the Host API, the contract cannot do it.

Host interfaces

Tenant contracts and outbox / contracts-call. A tenant (z:) contract can link only the interfaces in the node’s auth.tenant_host_interfaces list, an operator setting. At testnet-v1.0.12 the default list includes contracts-call but not outbox. Opening outbox to tenants takes two operator settings (outbox in that list, and z:* under host_iface_allowlists.outbox), and contracts-call refuses every call with not-allowlisted until an operator adds the allowlist row for that exact (caller, target) pair. There is no self-serve way to enable either.