Research Preview — APIs may change. GitHub
Location records
A location record is signed, verifiable location data artifact. It takes raw geospatial data and adds what GeoJSON alone cannot provide: attribution (who created it) and integrity (proof it hasn’t been tampered with). In the Astral ecosystem, location records conform to v0.2 of the Location Protocol specification. The Location Protocol provides a lightweight data schema that wraps spatial data in any format, to improve interoperability so that spatial data can be parsed and interpreted across distributed systems.What signing adds
The last row is important. A signed location record proves that a specific identity attested to a specific location at a specific time. It does not prove the attester was physically present. That’s what location proofs add.
EAS attestations
Astral’s v0 implementation uses Ethereum Attestation Service (EAS) for signed location records. EAS provides:- Onchain attestations — stored directly on EAS contracts, referenced by UID (unique identifier), permanent and immutable
- Offchain attestations — stored on user devices, centralized servers, IPFS or other infrastructure, referenced by UID + URI, no gas cost, EIP-712 signed
Location Protocol v0.2 schema
Location records conform to the Location Protocol v0.2 schema:Storage options
Onchain
- Stored on EAS contracts
- Referenced by chain ID + UID
- Higher gas cost
- Permanent, immutable
Offchain
- Held on user devices or stored on IPFS, servers, etc.
- Referenced by UID + URI
- No gas cost to create
- EIP-712 signed
Next: Location proofs
Adding evidence of physical correspondence
See also:
- SDK: Location module — creating, fetching, and querying location records
- API: Types — input format reference