Proof before payment
Before any stage releases money, a site photo is checked inside an Intel TDX enclave on OutLayer, with stage recognition by NEAR AI Cloud. The verdict lands on-chain. Then a surveyor signs, and holders get a veto window.
Seven checks, in order
The worker stops at the first hard failure. Softened checks are kept as warnings and shown in amber on the proof page.
Integrity
The photo's SHA-256 matches the hash committed on-chain before the check ran.
If it fails: fail
Readable
The image decodes and is large enough to judge.
If it fails: fail
Fresh
EXIF time exists, isn't in the future and isn't older than the estate allows.
If it fails: fail
On site
GPS is present and inside the estate's geofence (skipped in the Playground).
If it fails: fail
Never used before
Its perceptual hash isn't close to any earlier photo for the estate.
If it fails: fail
Right stage
NEAR AI's vision model names the stage shown, and flags photos of screens.
If it fails: screen: fail · stage: warning in Playground
Challenge code
The one-time code issued on-chain is written on paper and readable in the frame.
If it fails: fail, always
Why a code on paper
EXIF time and GPS can be forged with free tools. So the contract issues a fresh six-character code when the surveyor opens a capture, and the photo must show it written on paper. A photo from last month can't contain today's code.
Where it runs
Get started
In the Playground any wallet can act as surveyor: photograph the code anywhere and follow the check live.