A state contract is a small physics state machine that runs on your state machine. You declare the states it can be in (e.g. idle β watching β alert) and the transitions between them. Each transition carries a real operator β the verbatim equation of a physical law (NIST CODATA-bound, β€0.1% precision) β and fires when a value crosses your threshold, or on a time trigger. The kernel evaluates it on the HulyaPulse heartbeat (1.287 Hz) and writes every fire to your tamper-evident entangled state.
Not a blockchain smart contract (no gas, no bytecode, financial-only). State-first, pulse-synchronised, physics-grade, chain-rooted.
Every contract you deploy is saved on your state machine and listed under π Saved here (and in Workbench β step 7 Β· Files). Each deploy snapshots a version β roll back any time. Every fire is a row on your entangled-state chain, viewable in the chain observer.
By default a contractβs compute runs on this state machine. You can instead point its execution at your own server (a signed webhook URL): the kernel sends each transitionβs payload to your endpoint, your code computes, and the signed result is written back to your chain. The contract, its state, and its proof stay anchored to your state machine β you just host the work wherever you like. Set it per-contract under π Saved β Hosting.
name (required, 1β255), states object (one initial), transitions array of { from, to, operator, condition?, trigger? }.recurring (every N Zeqonds), one_shot, on_event/on_events, on_aggregate.Each fire is billed in credits (fuel); the compute mints a ZEQ envelope (80% to you on paid-funded). Heavier operators cost more.