Frequently Asked Questions
General
What is Astral Location Services?
What is Astral Location Services?
Astral Location Services is a verifiable geospatial computation oracle for Ethereum. It runs spatial operations (distance, containment, intersection) in a trusted execution environment and produces signed attestations you can verify onchain.
How is this different from a regular oracle?
How is this different from a regular oracle?
Unlike traditional oracles that report external data, Astral performs computation on location data and signs the results. The computation runs in a TEE (EigenCompute), providing cryptographic proof that the operation was performed correctly.
What can I build with this?
What can I build with this?
Any application that needs to gate onchain actions by physical location:
- Proof-of-visit NFTs
- Local currencies (geofenced token swaps)
- Neighborhood DAOs
- Delivery verification
- Location-based games
Is this production ready?
Is this production ready?
No. Astral Location Services is under active development. APIs may change. We’re building in public and welcome feedback!
Technical
What spatial operations are supported?
What spatial operations are supported?
MVP operations:
distance- Distance between two geometries (meters)contains- Is geometry B inside geometry A?within- Is point within radius of target?intersects- Do geometries overlap?area- Area of a polygon (square meters)length- Length of a line (meters)
buffer,centroid,union,intersection,disjoint
What chains are supported?
What chains are supported?
MVP targets Base Sepolia (chain ID 84532). Additional chains (Base Mainnet, Ethereum Sepolia/Mainnet) are planned.
How does verification work?
How does verification work?
- Operations run in EigenCompute’s TEE (Trusted Execution Environment)
- The TEE attests that specific code executed on specific inputs
- Results are signed with a key held inside the TEE
- Smart contracts verify
attestation.attester == astralSigner
What's the trust model?
What's the trust model?
MVP: Centralized service with TEE execution attestation. Trust Astral + TEE.Future: AVS consensus (multiple operators), ZK proofs, decentralized signing.
Can users spoof their GPS?
Can users spoof their GPS?
Yes. GPS is spoofable. Astral verifies that computations are correct, not that inputs are authentic. If a user provides a fake GPS coordinate, we’ll compute on that fake coordinate.We’re actively researching Location Proofs — a framework for providing evidence-based location claims using multiple corroborating stamps. As location proof plugins are developed, they’ll plug into Astral Location Services for stronger verification.
Integration
Do I need to run my own service?
Do I need to run my own service?
No. Astral operates the compute service. You just use the SDK to call it and submit attestations to your contracts.
Who pays gas?
Who pays gas?
You do. The delegated attestation pattern means:
- Astral signs the attestation offchain
- You submit with Astral’s signature (paying gas)
- EAS records Astral as the attester
Can I use this without submitting onchain?
Can I use this without submitting onchain?
Yes. Policy Attestations are signed offchain and can be used in your application directly. Onchain submission is optional.
How do I verify in my smart contract?
How do I verify in my smart contract?
Use an EAS resolver:
What's the relationship to Turf.js?
What's the relationship to Turf.js?
Complementary!
- Turf.js: Client-side, instant, free, unverified
- Astral: Server-side, verified, signed attestation
Data
What coordinate format do you use?
What coordinate format do you use?
GeoJSON standard: [longitude, latitude] in WGS84 (EPSG:4326).
What units are results in?
What units are results in?
Metric only:
- Distance/length: meters
- Area: square meters
- Radius (in
within): meters
Can I use raw GeoJSON or do I need attestations?
Can I use raw GeoJSON or do I need attestations?
Both work! You can pass:
- Attestation UIDs (verified, traceable)
- Raw GeoJSON (unverified, for reference data or prototyping)
Where is data stored?
Where is data stored?
- Location attestations: On EAS (onchain) or IPFS/your storage (offchain)
- Policy attestations: Returned to you; optionally submitted to EAS
- Compute service: Stateless, no persistent storage
Getting Help
Where can I get help?
Where can I get help?
- Documentation: You’re here!
- GitHub: astral-location-services
- Telegram: Join our community
How can I contribute?
How can I contribute?
We’re building in public! Once the repo is public:
- Open issues with feedback
- Share your use cases
- Submit PRs for improvements
Back: Introduction
Return to the introduction