x402-approval-guard
https://github.com/eltociear/x402-approval-guard
● healthy
example-apps
Pattern for gating an agent action on an x402 check: before signing `approve(spender, amount)`, calls `contract-guard` (`x402-fetch` + viem, $0.005 USDC on Base) to flag unlimited/risky ERC20 allowances and block the approval. Drop-in `guardApprove()` library + CLI.
Category
example-apps
Chains
—
Price
—
How to call
cURL · x402-fetch / x402-axios will auto-handle 402
curl -X POST https://github.com/eltociear/x402-approval-guard