x402 paying-fetch client for AI agents. Spending caps, approval, receipts. Non-custodial.

stdiocommunityinfra

Package Details

Transportstdio

Environment Variables

PAYFETCH_PRIVATE_KEY(str)
Secret

0x-hex EVM private key for a DEDICATED low-balance wallet. Set exactly ONE signer source.

PAYFETCH_KEY_FILE(str)

Path to a chmod-600 file holding a 0x-hex key (signer alt).

PAYFETCH_CDP_API_KEY_ID(str)
Secret

Coinbase CDP server-wallet key id (YOUR account).

PAYFETCH_CDP_API_KEY_SECRET(str)
Secret

Coinbase CDP API key secret.

PAYFETCH_CDP_WALLET_SECRET(str)
Secret

Coinbase CDP wallet secret.

PAYFETCH_CDP_ACCOUNT_NAME(str)

Optional named CDP EVM account.

PAYFETCH_DATA_DIR(str)

Ledger/state/config root. Default ~/.payfetch.

PAYFETCH_TEST_MODE(str)

Any value -> receipts test:true, Base mainnet refused (Sepolia only).

PAYFETCH_APPROVER(str)

Set to 1 to grant approval authority (never with a queue-capable mode).

PAYFETCH_VIA(str)

Optional via= attribution slug sent on guard calls only.