@caplane/shared source; every concrete value is registry-sourced and explorer-linkable. This describes the surface; the how-to lanes are under the role guides, and the rationale is in concepts.
Contracts
brokerCapability
The entry point: signature, returns, the flow, the Brokered event, the revert.
The Order struct
The eight fields, their exact types, and the nonce-vs-orderHash distinction.
Order encoding
The byte-exact abi.encode(order) layout, verifiable in three stacks.
ICapabilityAdapter
The two-function interface every capability implements.
IERC3009
The EIP-3009 subset the broker calls, and the EIP-712 domain.
SDK, adapters, and API
SDK (@caplane/shared)
The TypeScript surface for building, hashing, signing, and transmitting an order.
Adapters
Allocation, Gas, Timeboost, Attested: params, receipts, events, addresses.
Relayer API
POST /broker and GET /info, with the wire schemas and a real example.
Integration paths
TS SDK, x402 envelope, MCP tool: one settlement, three doors.
Errors and deployments
Errors and reverts
Every revert and relayer code, in one table, with how to fix each.
Deployments
The live testnet addresses, explorers, and USDC domains, per chain.

