@quitegoodproject/subcent402
v1.0.0
Published
Universal M2M Micro-Payment Protocol & MCP Paywall Standard for Autonomous AI Agents.
Maintainers
Readme
⚡ Subcent402 (subcent402.com)
The Universal M2M Micro-Payment Protocol & Model Context Protocol (MCP) Paywall Standard
Enables autonomous AI agents to pay for tools, APIs, and data feeds in sub-cent fractions ($0.0001 – $0.05) via HTTP 402, L402 Macaroons, and Base USDC.
🧭 The Problem
Traditional payment processors impose a fixed $0.30 + 2.9% fee, making $0.002 sub-cent API calls mathematically impossible. Furthermore, autonomous AI agents cannot fill in credit card forms or solve CAPTCHAs.
Subcent402 enables 3-line tool paywalls and cryptographic machine settlement in <0.2ms.
🚀 Quickstart: Monetize an MCP Tool in 3 Lines
import { withSubcent402 } from "@quitegoodproject/subcent402";
export const extractTool = withSubcent402(
{
priceUsd: 0.001,
toolName: "tokenmarkdown_extract",
recipientWallet: "0xYourWalletAddress"
},
async (params: { url: string }) => {
return await fetchCleanMarkdown(params.url);
}
);🏛️ developer suite & Governance
Maintained by The Quite Good Project.
