x402 service provider tooling for Azeth — gate Hono endpoints behind x402 payments
provider is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on account-abstraction, ai-agents, base, blockchain. It currently has 2 GitHub stars and 0 forks, and sits alongside related tools like mcp-server, sdk, cli, common, agent-starter, agent-commerce-demo.
x402 service provider tooling for Azeth. Gate your Hono endpoints behind x402 payments with built-in payment-agreement support, SIWx sessions, and automatic reputation feedback.
npm install @azeth/provider
# or
pnpm add @azeth/provider
import { Hono } from 'hono';
import { createX402StackFromEnv } from '@azeth/provider';
const app = new Hono();
const { middleware, facilitator } = await createX402StackFromEnv({
app,
routes: {
'/api/data': { price: '$0.01', resource: 'https://api.example.com/data' },
},
});
app.use('/api/*', middleware);
app.get('/api/data', (c) => c.json({ answer: 42 }));
PaymentAgreementModule| Export | Description |
|---|---|
createX402Stack(config) |
Create x402 middleware + facilitator from explicit config |
createX402StackFromEnv(routes, overrides?) |
Create from env vars. Auto-resolves payTo to your smart account if not set. |
LocalFacilitatorClient |
On-chain USDC settlement verification |
| Export | Description |
|---|---|
createPaymentAgreementExtension() |
x402 extension for agreement-based payments |
AzethSIWxStorage |
Agreement-aware SIWx session storage |
AgreementKeeper |
Periodic execution of due agreements |
findActiveAgreementForPayee() |
LRU-cached agreement lookup |
| Export | Description |
|---|---|
preSettledPaymentMiddleware |
Accept pre-settled x402 payment proofs |
paymentMiddlewareFromHTTPServer |
Standard x402 HTTP resource server middleware |
MIT
MCP server for Azeth — smart accounts, payments, reputation, and discovery tools for AI agents
TypeScript SDK for Azeth — smart accounts, x402 payments, reputation, and service discovery
CLI for Azeth — register, discover, pay, and manage machine participants
Shared types, constants, ABIs, and errors for Azeth — trust infrastructure for the machine economy
Build an AI agent with a wallet in 5 minutes — smart accounts, x402 payments, reputation, and service discovery
Watch two AI agents discover, negotiate, and pay each other — a complete machine economy demo
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.
Daydreams is a set of tools for building agents for commerce
A decentralized micro-settlement protocol enabling autonomous AI agents to pay publishers for premium content via Circle Programmable Wallets and x402 nanopayments.
The best way to monetize AI applications & MCP, using x402, CDP Smart Wallets & Paymaster
Command-line wallet and HTTP client for the Tempo blockchain, with built-in Machine Payments Protocol support.
Autonomous AI Agent Swarm framework with x402 self-executing wallets. Empowers LLM-driven agents to trade, bridge, and manage crypto treasuries without human intervention. The ultimate Agentic DeFi toolkit for 2026.