
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
@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(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
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 32 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
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.