Skip to main content
Glama
x402 Cloudflare Starter

x402 Cloudflare Starter

x402 Cloudflare Starter

x402を使用してBase + SolanaでUSDC決済を受け付ける最も簡単な方法。 ウォレットは自分で用意します。Coinbaseアカウントは不要です。

このリポジトリは、ANAMIZEDの最初の収益を生むSKU向けのエージェントチェックアウトレールです。人間はStripe Payment Linksを使用します。エージェントはx402を使用します。価格は同じです。フルフィルメントはホストが担当します。

Baseがデフォルトの決済ネットワークです(eip155:8453、USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)。Solanaはオプションの並列ネットワークです。

サーフェス

サーフェス

エントリ

API(Worker)

src/index.ts

60秒デモ

GET /demo

レシート台帳

GET /v1/receipts

SKUカタログ

src/catalog.ts + GET /v1/catalog

MCPサーバー

mcp/server.ts

アプリケーションパック

docs/APPLICATION_PACK.md

Related MCP server: x402 Payment Gateway MCP Server

エージェントチェックアウト(ハイブリッド)

無料:GET / · GET /health · GET /demo · GET /v1/catalog · GET /v1/receipts

SKU

x402

Stripe(人間用)

Agentic OS Cycle $0.75

GET /v1/cycle

Stripe

OpenGOS Search $0.40

GET /v1/search

Stripe

OpenGOS Draft $2.50

GET /v1/draft

Stripe

有料ハンドラーはレシートのみを返します。Desk Studioのロックは解除されません。

記載されている受取アドレス:

ネットワーク

アドレス

Base / Ethereum

0xD3d0E9eDAe3Ac7bb199a8EAA761BdA423b878438

Solana

ETQwWf19axArsY493UfC6bxe2BmEzmzvCb58PPnC38A

クイックスタート

npm install
npx wrangler secret put BASE_ADDRESS
npx wrangler secret put SOLANA_ADDRESS
npx wrangler deploy

ライセンス

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers