You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update protocol and contracts docs to match current state (#14)
## Summary
- **Escrow scheme spec rewritten** to align with [coinbase/x402 PR
#1425](https://github.com/coinbase/x402/pull/1425) and [issue
#1011](https://github.com/coinbase/x402/issues/1011) — adds settlement
methods (authorize/charge), nonce derivation, 11-step verification
logic, settlement logic, error codes, PaymentInfo struct with all
fields, and expiry ordering
- **All contract addresses updated** to unified CREATE3 addresses (same
on every chain)
- **Missing contracts added**: ArbiterRegistry, RefundRequestEvidence,
ReceiverRefundCollector, SignatureCondition/SignatureRefundRequest
factories, and all condition/combinator factories
- **Supported chains expanded** from 2 (Base + Base Sepolia) to 11
chains
- **PaymentInfo struct fixed** in architecture docs (was missing
`preApprovalExpiry`, `refundExpiry`, `salt`, had wrong field ordering)
- **Payment flow diagrams fixed** to route through operator (not escrow
directly)
- **Roadmap updated** with escrow scheme spec submission status and
multi-chain deployment
## Test plan
- [ ] Preview with `npx mint dev` and verify all pages render
- [ ] Verify all contract addresses match `@x402r/core` config
- [ ] Verify escrow scheme spec matches PR #1425 content
- [ ] Check all internal links work
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Copy file name to clipboardExpand all lines: contracts/gas-costs.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ icon: "gas-pump"
6
6
7
7
## Overview
8
8
9
-
x402r adds escrow, refund windows, and dispute resolution on top of [Base Commerce Payments](https://github.com/base/commerce-payments). Here you'll find the **measured gas cost** of every on-chain operation so you can evaluate the overhead.
9
+
x402r adds escrow, refund windows, and dispute resolution on top of the [Commerce Payments Protocol](https://github.com/base/commerce-payments). Here you'll find the **measured gas cost** of every on-chain operation so you can evaluate the overhead.
10
10
11
11
All numbers are from Foundry simulations (`forge test`) with optimizer enabled (200 runs, via IR). The benchmark test is at [`test/gas/GasBenchmark.t.sol`](https://github.com/BackTrackCo/x402r-contracts/blob/main/test/gas/GasBenchmark.t.sol).
@@ -184,7 +194,7 @@ Protocol fee configuration is mutable via `ProtocolFeeConfig` (with 7-day timelo
184
194
185
195
For a detailed view of how all contracts interact, see [Architecture](/contracts/architecture).
186
196
187
-
To understand individual contracts, see [Core Contracts](/contracts/core-contracts).
197
+
To understand the core operator, see [PaymentOperator](/contracts/payment-operator). For supporting contracts, see [Periphery](/contracts/periphery/overview).
188
198
189
199
For factory deployment patterns, see [Factories](/contracts/factories).
190
200
@@ -194,8 +204,8 @@ For factory deployment patterns, see [Factories](/contracts/factories).
0 commit comments