@bosonprotocol/x402-core
v0.2.2
Published
Boson Protocol escrow scheme for x402 — JSON schemas, TypeScript types, EIP-712 builders, and exchange state machine.
Downloads
2,911
Readme
@bosonprotocol/x402-core
escrow-scheme primitives for x402B — Boson Protocol's implementation of the x402-escrow-schema.
This is the leaf package that every other @bosonprotocol/x402-* package depends on. It will provide:
- JSON schemas + TypeScript types + zod validators for the
escrowscheme wire format - EIP-712 builders for the Boson
FullOffer, the protocol meta-transaction envelope, and the four BPIP-12 token-authorization strategies (ERC-3009ReceiveWithAuthorization, EIP-2612Permit, Uniswap Permit2, plain approve) - Exchange state machine model (states + legal transitions +
boson-*action ids)
The escrow scheme is intended as a drop-in addition to existing x402 servers and clients — types here extend the base PaymentRequirements / PaymentPayload from @x402/core.
Status
Pre-release skeleton. The public API surface lands incrementally; the package currently exports nothing.
Install
pnpm add @bosonprotocol/x402-core
# or: npm install @bosonprotocol/x402-core