v0.1.0 — @mdlog/agentgate on npm
npx @mdlog/agentgate — wrap any HTTP API into a paid x402 service on Casper, or read the live on-chain catalog with zero setup.
npx @mdlog/agentgate list # live on-chain catalog — zero config, no keys
npx @mdlog/agentgate wrap <url> --price 0.5 --name "X" --pem ./key.pemHighlights
- Zero-env reads (
list/status) against Casper Testnet — resolves the registry contract via public node RPC, no CSPR.cloud key. - One-line
wrap— the only thing besides the args is your funded wallet key (--pem); it registers on-chain and self-maps on the gateway. - Owner-signature self-service gateway mapping (
POST /services/:id/map) — no shared admin token. - Inline config flags (
--mode/--node-url/--registry/--pem/--api-key/--admin-token), precedence flag > env > default. - Hosted gateway live at https://gateway.mdloglabs.org.