Agent Tools
Back to directory
● degraded node-js-typescript

Authorization middleware for x402 endpoints. One line: `preflight(handler, { minScore: 40 })`. Gates by a 5-dimension trust score (wallet age, tx history, counterparties, funding source, ERC-8004), returns Ed25519-signed receipts verifiable with only the public key, supports block / warn / surcharge modes. Hono / Express / Next adapters. ([npm](https://www.npmjs.com/package/@larkinsh/x402)) ([GitHub](https://github.com/larkin-dev/larkin))

Category
node-js-typescript
Chains
Price

How to call

cURL · x402-fetch / x402-axios will auto-handle 402
curl -X POST https://www.npmjs.com/package/@larkinsh/x402