
Product
Socket for ClickUp Is Now Available
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.
@azeth/provider
Advanced tools
x402 service provider tooling for Azeth — gate Hono endpoints behind x402 payments with payment-agreement support
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(options) | Create from environment variables |
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
FAQs
x402 service provider tooling for Azeth — gate Hono endpoints behind x402 payments with payment-agreement support
The npm package @azeth/provider receives a total of 55 weekly downloads. As such, @azeth/provider popularity was classified as not popular.
We found that @azeth/provider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.

Product
Create and manage Asana tasks directly from Socket alerts, with manual task creation, automated ticketing rules, and two-way sync.

Security News
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.