x402-hub is the foundational payment infrastructure service that implements the x402 protocol for blockchain payments. It provides protocol endpoints, wallet authentication, and transaction history.
Multi-Chain Support: x402-hub supports both EVM networks (Ethereum, Base) and Solana networks, allowing you to process payments across multiple blockchains using a single, consistent API.
Base URL
Production: https://hub.sigwei.com
All endpoints use standard x402 protocol paths or /api/v1/ prefix for hub-specific features.
Integration Options
You can integrate with x402-hub in three ways:
HubClient SDK (Go) - Recommended for Go applications
{
"message": "hub.sigwei.com wants you to sign in with your Ethereum account:\n0x742D35Cc6634C19D8B4e8d5C1234567890123456\n\nURI: https://hub.sigwei.com\nVersion: 1\nChain ID: 8453\nNonce: abc123...\nIssued At: 2024-01-15T10:30:00Z",
"apiVersion": "v1",
"timestamp": "2024-01-15T10:30:00Z"
}
// ethers.js example
const signature = await wallet.signMessage(message);