io.github.jdhart81/agent-erc8004-bridge

agent-erc8004-bridge

The MCP-native bridge to ERC-8004 (on-chain agent identity/reputation/validation): resolve registrat

0.2.0
Version
remote
Transport
10
Tools

Security review

Review passed

Reviewed 1d ago.

  • tools: 10 tools scanned
  • metadata: scanned

No findings.

Tools (10)

  • import_registration

    Import an ERC-8004 Identity Registry record (chain_id + ERC-721 token_id + agentURI + owner). Idempotent: re-import updates in place. Returns the canonical record with its deterministic bridge DID (did:viridis:erc8004:<chain>:<token>).

  • resolve_agent

    Resolve an imported ERC-8004 registration by bridge DID or by (chain_id, token_id).

  • import_feedback

    Import ERC-8004 Reputation Registry feedback records for an agent. Each item: {value: bool|0..1, at: ISO-8601, source?, weight?, feedback_id?}. Idempotent per feedback_id.

  • score_agent

    Decay-weighted trust score in [0,1] + tier over the agent's imported ERC-8004 feedback — recent behavior outweighs old; no feedback scores a neutral 0.5 prior (no blind trust, no unfair zero).

  • bind_identity

    Bind a fleet DID to an ERC-8004 identity. Produces an order-independent, content-addressed (unsigned) binding attestation.

  • export_attestation

    Export the agent's current trust score as an UNSIGNED ERC-8004 Validation Registry-shaped payload, content-addressed and ready for YOUR OWN signer to anchor on-chain.

  • verify_attestation

    Recompute a payload's content hash and report whether it is intact.

  • list_registrations

    List all imported ERC-8004 registrations.

  • export_validation_response

    Build UNSIGNED ERC-8004 Validation Registry validationResponse args from an Outcome Receipt (ORC v0.1): responseHash = receipt commitment, tag "orc/0.1", response 100 only if the bridge re-verifies the receipt AND your replay succeeded. Sign and submit with your own signer; this bridge holds no keys and writes to no chain.

  • describe_agent

    Return the bridge's capabilities and input contract.