x402 SDK for AI agent payments - Base & Solana USDC micropayments
x402-sdk is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on agentic-payments, ai, ai-agents, anthropic. It currently has 0 GitHub stars and 0 forks, and sits alongside related tools like x402-pay, dna-x402, piprail, APITOLL, p402-protocol, tdm-integration-kit.
x402 SDK for AI agent payments. Accept USDC on Base and Solana.
| Package | Description |
|---|---|
@proxies-sx/x402-core |
Core types and utilities |
@proxies-sx/x402-hono |
Hono middleware (Lucid compatible) |
@proxies-sx/x402-solana |
Solana payment verification |
npm install @proxies-sx/x402-hono
import { Hono } from 'hono'
import { x402 } from '@proxies-sx/x402-hono'
const app = new Hono()
// Free endpoint
app.get('/health', (c) => c.json({ status: 'ok' }))
// Paid endpoint - $0.10 per request
app.get('/data', x402({
amount: 0.10,
network: 'base',
recipient: '0xYourWallet',
description: 'Premium data endpoint'
}), async (c) => {
const payment = c.get('x402Payment')
console.log(`Paid by: ${payment.walletAddress}`)
return c.json({ data: 'Premium content!' })
})
export default app
Payment-Signature header| Network | USDC Address | Speed | Cost |
|---|---|---|---|
| Base | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
~2s | ~$0.01 |
| Solana | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |
~400ms | ~$0.0001 |
import { verifySolanaPayment } from '@proxies-sx/x402-solana'
const result = await verifySolanaPayment(
txSignature,
'YourSolanaWalletAddress'
)
if (result.valid) {
console.log(`Received $${result.amount} from ${result.payer}`)
}
railway login
railway init
railway up
After deploying, register your agent on xgate.run for discovery.
MIT
Open-source x402 payment processor for AI agents. Sub-400ms settlement on Solana + 7 EVM chains. Let LLMs pay for APIs programmatically with USDC. npm: nory-x402
DNA — Payment rails for AI agents. x402 micropayment protocol on Solana. Netting, transfer, stream settlement. Receipt anchoring on-chain.
x402 (HTTP 402 Payment Required) SDK + MCP server: let any API charge for itself and any AI agent pay for itself, USDC & stablecoins across EVM, Solana & 8 more chain families, in a couple of lines. Backendless, no fee, self-custodial, paid straight to your wallet. TypeScript, MIT.
The commerce layer for the x402 agent economy — micropayments for AI agents on Base and Solana
P402 Payment Protocol
Developer integration tools for adding TDM payments to AI agents, apps, and workflows. CLI, MCP server, and copy-paste examples
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
Live data for AI agents — search, research, markets, crypto, X/Twitter. Pay-per-call via x402 micropayments.