This thread discusses ERC-8242, a lightweight metadata extension that
standardises spatial identity for on-chain agents using Uber’s H3
hexagonal indexing system.
Scope
ERC-8242 defines a minimal on-chain registry (IERC8242) where agents
register a spatial object containing:
h3_index— H3 cell identifier (string)resolution— integer 0–15 (recommended: 5, ~252 km²)execution_preference—"local"|"regional"|"global"(default:"global")
The standard exposes a single discovery function:
discoverAgents(h3Parent, resolution, preference, offset, limit)
What this standard does NOT define
Transport protocols, networking layers, execution environments, or fee mechanisms.
This is purely a metadata and agent-selection-signal standard.
Backward compatibility
If spatial is absent, the agent is assumed "global".
No existing ERC is modified.
Motivation
There is currently no standard on-chain interface for expressing agent
spatial identity. H3 provides uniform hexagonal cells with consistent
neighbour topology — well suited for composable, on-chain spatial filtering
without off-chain infrastructure dependency.
