Documentation Index
Fetch the complete documentation index at: https://docs.astral.global/llms.txt
Use this file to discover all available pages before exploring further.
Frequently Asked Questions
General
What is Astral Location Services?
What is Astral Location Services?
How is this different from a regular oracle?
How is this different from a regular oracle?
What can I build with this?
What can I build with this?
- Proof-of-visit NFTs
- Local currencies (geofenced token swaps)
- Neighborhood DAOs
- Delivery verification
- Location-based games
Is this production ready?
Is this production ready?
Technical
What spatial operations are supported?
What spatial operations are supported?
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?
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?
Can users spoof their GPS?
Can users spoof their GPS?
Integration
Do I need to run my own service?
Do I need to run my own service?
Who pays gas?
Who pays gas?
- 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?
How do I verify in my smart contract?
How do I verify in my smart contract?
What's the relationship to Turf.js?
What's the relationship to Turf.js?
- 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?
What units are results in?
What units are results in?
- 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?
- 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?
- Open issues with feedback
- Share your use cases
- Submit PRs for improvements