Register an onchain agent identity and manage reputation through the ERC-8004 registries on Polygon mainnet.
Six commands cover the ERC-8004 lifecycle: register a new agent identity, query its registered payment wallet, fetch metadata by key, read or write reputation. ERC-8004 sits separately from x402, payments are independent, but a registered identity gives counterparties a place to look up an agent’s wallet, attestations, and feedback before transacting with it.All agent commands operate on Polygon mainnet only, regardless of the wallet’s default chain.
Mints an ERC-721 identity in the IdentityRegistry. After broadcast, retrieve the assigned agentId from the Registered event in the transaction’s Logs tab on Polygonscan.