x402-payment
Installation
SKILL.md
x402 Payment
Use x402-cli; do not run local TypeScript payment scripts.
Prerequisites
- Run
command -v x402-cli && x402-cli --version. - Require x402 CLI 1.0.1 or newer (built with x402 SDK 1.0.1 and Gateway 1.0.1). If it is missing, ask the user to install it with
npm install -g @bankofai/x402-cli@1.0.1. - Run
agent-wallet listand confirm a compatible payer wallet exists. - Never print, echo, or interpolate a private key or mnemonic into a command. Let the CLI resolve Agent Wallet credentials, or rely on private-key environment variables already configured outside the conversation.
Payment workflow
Always inspect an unfamiliar payment before signing:
x402-cli pay <url> --dry-run --json