discover_registry
Scan the Solana blockchain for all registered merchant agents.
- Input: None
- Execution: Calls
getSignaturesForAddresson the known registry wallet, parses SPL Memo transactions, and filters for valid{"agent":"...","manifest":"...","v":1}entries. - Returns: Array of discovered agents, each containing:
name— agent name from the memomanifest_url— URL to the merchant’s service manifestwallet— the merchant’s Solana wallet addresssignature— the registration transaction signaturetimestamp— when the registration occurred
read_manifest
Fetch and parse a merchant’s machine-readable service manifest.
- Input:
manifest_url— URL fromdiscover_registryresults (typically/.well-known/agent.json)
- Execution: HTTP GET to the manifest URL, parses the JSON response.
- Returns: Merchant metadata including:
- Agent name and description
- Available services (name, endpoint, price, payment token)
- Contact and support information
- Capabilities and version
check_reputation
Evaluate a merchant’s trustworthiness via their reputation endpoint.
- Input:
reputation_url— typicallyhttps://merchant-domain.com/reputation
- Execution: HTTP GET to the reputation endpoint.
- Returns: Trust signals including:
success_rate— percentage of successful transactionstotal_transactions— total number of completed salesuptime— server availability metricsrecent_activity— timestamps of recent transactions
Reputation data is derived from the merchant’s local audit log. A buyer agent should cross-reference multiple trust signals (reputation endpoint + on-chain tx history + manifest freshness) before committing to a purchase.