x402v2 now available
Get started with x402
faster than ever_
The Framework that makes x402 development feel like cheating. Type-safe, blazing fast, and actually easy to use.
$npm install @faremeter/rides
take_a_ride()rides-example.ts
import "dotenv/config";
import { logResponse } from "./logger";
import { payer } from "@faremeter/rides";
await payer.addLocalWallet(process.env.PAYER_KEYPAIR_PATH);
await payer.addLocalWallet(process.env.EVM_PRIVATE_KEY);
const req = await payer.fetch("http://localhost:3000/protected");
await logResponse(req);x402_superset
Built on the first Framework for x402. Support every version now and forever.
type_safe
End-to-end TypeScript with automatic type generation. Optimized for safety.
dx_first
Amazing developer experience with auto wallet detection, multi-chain support, and great docs.