Skip to content

Commit b89808e

Browse files
committed
docs(readme): drop spend flags from x402 drip/balance examples
drip and balance no longer accept --payment-asset (they present a Bearer JWT and sign nothing), so the walkthrough examples must not pass it.
1 parent e3a2716 commit b89808e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,15 +423,15 @@ qn wallet generate --chain evm --name payer # dedicated wallet
423423

424424
# Testnet only: fund the wallet from the faucet (Base Sepolia, once per
425425
# account). Prints the funding tx; mainnet wallets are funded normally.
426-
qn rpc x402 drip --payment-wallet payer --payment-network base-sepolia --payment-asset USDC
426+
qn rpc x402 drip --payment-wallet payer --payment-network base-sepolia
427427

428428
# Buy prepaid credits with the funded wallet (moves real funds; gated — pass
429429
# --yes to skip the prompt).
430430
qn rpc x402 buy-credits --network base-sepolia --payment-wallet payer \
431431
--payment-network base-sepolia --payment-asset USDC --max-amount 10000000
432432

433433
# Check the balance (prints the bare number).
434-
qn rpc x402 balance --payment-wallet payer --payment-network base-sepolia --payment-asset USDC
434+
qn rpc x402 balance --payment-wallet payer --payment-network base-sepolia
435435

436436
# Spend credits on calls. A drawdown call signs nothing per request, so it
437437
# needs only the wallet — no asset or spend ceiling.

0 commit comments

Comments
 (0)