{
"name": "agentgate-examples-typescript",
"private": true,
"type": "module",
"description": "Pay one AgentGate x402 tool from TypeScript with @x402/fetch + viem (USDC on Base). Dry run by default: no key, no payment.",
"scripts": {
"build": "tsc -p .",
"dry-run": "node dist/dry-run.js",
"pay": "node dist/pay-one-tool.js"
},
"dependencies": {
"@x402/core": "2.28.0",
"@x402/evm": "2.28.0",
"@x402/fetch": "2.28.0",
"viem": "^2.21.0"
},
"devDependencies": { "typescript": "^5.6.0", "@types/node": "^20.0.0" }
}
agentgate-source: code mirror on Cloudflare Pages. All repos