Mediumby x402-rs Community
x402-rs
Production-ready Rust toolkit for x402 payments with the widest EVM chain support. Stateless verification architecture with OpenTelemetry built-in for observability. Supports both V1 and V2 of the x402 protocol. Apache-2.0 licensed.
Last researched: 2026-03-30
Supported Chains
BaseEthereumPolygonAvalanche C-ChainSeiXDCSolanaAptos (experimental)
Pricing
Free
Free0% fees. Hosted instance free at facilitator.x402.rs
SDKs & Libraries
Rust
x402-typesx402-axumx402-reqwestx402-facilitator-localx402-chain-eip155x402-chain-solanax402-facilitatorSetup Steps
- 1Use the hosted instance at https://facilitator.x402.rs for quick start
- 2Or clone the x402-rs repository for self-hosting
- 3Build with cargo build --release
- 4Deploy via Docker for self-hosted facilitator
- 5Configure chain-specific modules (EIP-155, Solana, etc.)
Use Cases
- •High-performance x402 infrastructure in Rust
- •Self-hosted facilitator with full control
- •Multi-chain EVM payment verification
- •Observable payment infrastructure with OpenTelemetry
Pros & Cons
Pros
- +Best performance among x402 facilitators
- +Zero fees on hosted and self-hosted instances
- +Widest EVM chain support (6+ chains)
- +OpenTelemetry observability built-in
- +Apache-2.0 license, V1 and V2 support
Cons
- -Rust-only SDK (no JS, Python, or Java bindings)
- -Smaller community compared to Coinbase CDP
- -Aptos support is experimental and unstable