payhole key createGenerate a session key into the key file and print its address. The pocket owner registers it from the extension's Agents tab with a cap and an expiry.
payhole key import | address | exportStore an existing key, print the address, or print the private key.
payhole statusCap, spent, remaining, expiry, and the key's USDG and ETH balances.
payhole pay <url> [--method] [--data] [--header] [--max] [--quiet]Fetch a URL and pay its 402 if the cap allows. Exit codes: 0 success, 1 error, 2 refused, 3 no acceptable offer.
PAYHOLE_BUDGET_ACCOUNT, PAYHOLE_KEY_FILE, PAYHOLE_SESSION_KEY, PAYHOLE_RPC_URLEnvironment. Without a budget account the CLI pays from the key's own USDG balance, which is only meant for interop checks.
The session key needs a little ETH for gas: pulling USDG from the BudgetAccount is a transaction the key sends itself. Signing the x402 authorization costs nothing; the facilitator settles it.