- Rust engine: real bootstrap/wiring preflight (guardrail-agent), execution layer (retry/router/pre-trade/post-trade/reconciliation), guardrail-doctor diagnostics with allowlist-drift guard. - guardrail-cli: extracted pure helpers into util.rs (split in progress). - 6 Track-2 skills + ensemble; python-lab analytics (regime/drawdown/montecarlo/dossier/ensemble/journal/seed); clients (ts/py/go/mcp/langchain/web-lite/proof-verifier); alert relay; scenarios; helm/k8s/compose; docs. - dashboard/vercel.json + docs/VERCEL_DEPLOY.md for Vercel deployment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
672 B
Python
27 lines
672 B
Python
"""ERC-8004 Identity Registry module."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
from ..core.module import BNBAgentModule, ModuleInfo
|
|
|
|
|
|
class ERC8004Module(BNBAgentModule):
|
|
def info(self) -> ModuleInfo:
|
|
return ModuleInfo(
|
|
name="erc8004",
|
|
version="0.1.0",
|
|
description="ERC-8004 Identity Registry — on-chain agent registration & discovery",
|
|
)
|
|
|
|
def default_config(self) -> dict[str, Any]:
|
|
from ..config import resolve_network
|
|
|
|
nc = resolve_network()
|
|
return {"registry_contract": nc.registry_contract}
|
|
|
|
|
|
def create_module() -> ERC8004Module:
|
|
return ERC8004Module()
|