@bosonprotocol/x402-fulfillment
v0.2.0
Published
Boson Protocol fulfillment channels for x402 — pluggable FulfillmentChannel interface, registry, client-side negotiation helper, and built-in channel implementations.
Readme
@bosonprotocol/x402-fulfillment
Fulfillment channels for the Boson Protocol escrow
scheme of x402.
Defines the pluggable FulfillmentChannel interface that lets a seller
advertise — and a buyer attach — delivery data alongside an x402
escrow payment.
See docs/boson-impl-03-fulfillment-channels.md
for the design and wire-format spec.
Status
Skeleton package. Ships the FulfillmentChannel interface,
FulfillmentResult type, and server-side registry so consumers can begin
to type against the contract. Built-in channels (inline, email, xmtp,
webhook, ipfs-pointer) and the client-side negotiateFulfillment
helper land separately.
Install
pnpm add @bosonprotocol/x402-fulfillment @bosonprotocol/x402-coreAPI
import type {
FulfillmentChannel,
FulfillmentResult,
} from "@bosonprotocol/x402-fulfillment";FulfillmentOption and FulfillmentRequirements (the on-the-wire
shapes that appear in the 402 PaymentRequirements and the
X-PAYMENT payload) are re-exported from
@bosonprotocol/x402-core/schemes/escrow — import them from there.
License
Apache-2.0.
