🐱 Mint CryptoCatsV3 NFT via x402

Pay $0.05 USDC on Base. No ETH, no account, no signup — just an x402-compatible wallet.

Requirements

Step 1 — Install awal

npm install -g awal

Step 2 — Set up your wallet

npx awal wallet setup

Step 3 — Preview payment details (optional)

npx awal x402 details "https://mcpswap-x402.kdlcfa.workers.dev/mint?x402=v2"

Shows the price ($0.05), network (eip155:8453 — Base), and recipient address.

Step 4 — Pay and mint

npx awal x402 pay "https://mcpswap-x402.kdlcfa.workers.dev/mint?x402=v2" --max-amount 60000 --json

On success, you get back:

FieldMeaning
tokenIdThe token number of the NFT you just minted
mintTxHashThe mint transaction on Base
transferTxHashThe transaction that sent the NFT to your wallet
mintedToThe receiving wallet address

Verify on-chain

https://basescan.org/tx/<mintTxHash>

View on OpenSea: opensea.io/assets/base/0x2d255Ee1E17aa9b86c9f3736E79011907e1166FB

Notes

Using a non-awal x402 client

Any client implementing the x402 v2 spec works. Endpoint:

GET https://mcpswap-x402.kdlcfa.workers.dev/mint?x402=v2

Accepted payment: scheme: exact, network: eip155:8453, asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (USDC on Base).