ONCHAIN pfp
ONCHAIN

@onchainpayment

Node.js devs: protect your Express API in 3 lines import { x402Middleware } from '@ onchainfi/x402-aggregator-client'; app.use(x402Middleware({ apiKey: process.env.ONCHAIN_KEY, recipientAddress: '0x..', endpoints: {'GET /api/premium': { price: '$0.10' }} })); That's it.
1 reply
0 recast
0 reaction