Specifications and other high-level documentation for the BCH implementation of the x402 protocol.
x402-bch is an early-stage project in the AI payments / x402 ecosystem. It currently has 5 GitHub stars and 3 forks.
This repository is modeled on the original x402 repository created by Coinbase. While their specifications and examples for x402 implementation is focused the USDC stablecoin on the Base blockchain, this repository is focused on an implementation for the Bitcoin Cash (BCH) blockchain. The techniques used by the x402-bch protocol can be adapted for any L1 UTXO-based blockchain.
A complete technical comparison can be done between the x402 specification and the x402-bch specification. Here are the high level differences between the two protocols:
An example implementation is available in the examples directory.
This video introduces the code and concepts in this repository:
Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
A payments protocol for the internet. Built on HTTP.
A local-first AI agent with persistent memory, emotional intelligence, and a peer-to-peer skills economy.
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.
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.