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: