Repository navigation
radius-cli@0.5.0
·
46 commits
to main
since this release
Minor Changes
- cc68f37: Add
network: print the resolved network config (chain id, RPC, explorer, faucet, facilitator, SBC) as text or--json, without touching the network. - 98450dd: Add
wallet sign-typed-data(EIP-712) andwallet sign-jwt(ES256K), so agents can sign with the local account without exporting the private key. - ef5d91d: Add
wallet faucet: request a faucet drip for the local account (testnet ~0.5 SBC, mainnet ~0.01 SBC/day), with--jsonoutput. - 3fb56ac:
sell check <url>checks a seller's402without paying: it decodes the x402PAYMENT-REQUIREDoffers and any MPPWWW-Authenticate: Paymentchallenge, checks each offer's network, asset and EIP-712 domain, amount (against--price, at the asset's decimals),payTo,resource.urlandmaxTimeoutSeconds, reads the facilitator's/supported(--facilitator, default the network's) for each offer's scheme, network and transfer method, and asks the SDK buyer whether it would pay.--probe-headwarns when an unpaidHEADis served, and--pay --thresholdmakes one paid request (testnet unless--network mainnet) and checks the receipt. Like the SDK buyer it also reads an x402 challenge from the JSON body, and a malformed offer is a failed check, not a crash. Prints a checklist or, with--json, a report; exits 1 when a check fails and 2 on invalid flags.