erc8004-identity-registered
The filtered half of a two-package composable pair — see
../erc8004-identity/README.md for the general-purpose half.
Imports erc8004-identity's store_agent_state module and filters it down
to agents whose Identity Registry URI is currently non-empty. That's as far
as an on-chain-only signal can go: it says an agent points at something,
not that the something is a live, valid agent-card — confirming that needs
an HTTP fetch, and Substreams module inputs are limited to Block / other
modules' output / params by design (determinism, parallel backfill), so
that verification is necessarily left to something outside Substreams.
This package reads zero blocks itself — every byte comes from the imported
package's store deltas. That's deliberate: it demonstrates that
erc8004-identity is a genuinely reusable, composable Substreams module,
not just a package that happens to sit next to others in the same repo.
Modules
| Module | Kind | Output |
|---|
map_registered_agents | map | erc8004.identity.registered.v1.RegisteredAgents — agents whose URI is non-empty as of this block |
Build
Build and pack erc8004-identity first — this package's manifest imports
its .spkg by relative path:
(cd ../erc8004-identity && cargo build --target wasm32-unknown-unknown --release && substreams pack substreams.yaml)
cargo build --target wasm32-unknown-unknown --release
substreams pack substreams.yaml