dfmi x402 market

v0.1.1
io.github.dfmi-app/dfmi-market Checked 1 day ago Published 1 month ago

Shop the dfmi x402 agent market: find services, get quotes, free dUSD points, capped buying.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

dfmi_list_services List dfmi services

List pay-per-request services on the dfmi x402 market, ranked by the independent bazaar (liveness, activity, buyer diversity). Returns resource URL, price, score and number of unique buyers. Free, no wallet needed.

ParameterTypeDescription
querystringOptional keyword filter, e.g. "report" or "summarize"

dfmi_quote Get an x402 price quote

Ask any x402 endpoint what it costs, without paying or signing anything. Works for dfmi services and other x402 endpoints.

ParameterTypeDescription
url *string
methodstring

dfmi_wallet Buyer wallet status

Show the buyer wallet address, its dUSD balance on dfmi, and the spend limits left in this session.

dfmi_create_wallet Create a throwaway buyer wallet

Create a new local buyer wallet (stored at /home/runner/.dfmi/buyer-wallet.json, readable only by you). Does nothing if one already exists. Returns the address only, never the key.

dfmi_claim_faucet Claim free dUSD

Claim 10 dUSD (points, no monetary value; not refundable or redeemable) from the dfmi faucet to the buyer wallet. Once per address, ever.

dfmi_buy Buy from an x402 endpoint

Pay for and fetch an x402 resource (exact scheme, EIP-3009; no gas needed). Refuses if the price is above max_price (hard cap 0.1) or above the remaining session budget (1 total). Testnet only unless the operator enabled mainnet. Returns the goods and the on-chain settlement receipt.

ParameterTypeDescription
url *stringResource URL, e.g. from dfmi_list_services
max_pricenumberMost you will pay for this call, in the quoted coin. Capped at 0.1.
methodstring