Research Preview — APIs may change. GitHub
Geofence compliance
You’re managing a drone fleet. Regulators require proof that each drone stayed within its approved flight corridor. Astral’scontains operation produces a signed result recording whether each reported position fell inside the corridor — verifiable, auditable evidence of the check.
The drone’s reported position is supplied as coordinates. The signed result proves the containment computation was performed correctly on those coordinates — it does not, by itself, prove the drone was physically there. Raw GPS can be spoofed. To strengthen the position itself, attach location proofs (for example, hardware-attested device evidence) so the input carries its own credibility, not just the computation. This is a Research Preview — be direct with regulators about which inputs are evidence-backed and which are self-reported.
How it works
- Define the approved corridor as a polygon
- Periodically check the drone’s position with
compute.contains - Each check produces a signed result
- A compliance report is a series of signed results covering the flight duration
Define the approved corridor
Register the approved flight corridor as an onchain location record.Periodic compliance checks
At regular intervals during the flight, check whether the drone’s position falls within the corridor.Building a compliance report
A compliance report is a time series of signed results. Each one is independently verifiable.Submitting compliance onchain
For regulatory requirements that demand onchain proof, submit each signed result as an EAS attestation.What the regulator sees
Each signed result in the compliance report includes:| Field | Value |
|---|---|
| Operation | contains |
| Result | true (in corridor) or false (violation) |
| Input references | Hashes of the drone position and corridor polygon |
| Timestamp | When the check was performed |
| Attester | Astral’s TEE signing key |
Variations
- Maritime shipping — verify vessels stay within approved shipping lanes
- Autonomous vehicles — prove a vehicle stayed within its operational design domain
- Asset tracking — verify high-value goods remained within approved transit routes
- Environmental monitoring — confirm survey equipment stayed within permitted research areas
Next: Onchain attestation
End-to-end blockchain flow from computation to smart contract