corridor · architecture diagram, phase 5

USD → TRY,
end to end.

One corridor, four rails, one trust boundary. Green is real and self-serve; amber is simulated and disclosed on-screen; the dashed red route is the one Bridge does not sell, which is why payout is a binding rather than a hard-coded call.

real · self-serve
real flow, fixture verdict
simulated · disclosed in-app
route does not exist

System

The client holds no provider credentials and computes no quotes. Three outbound dependencies only: the wallet SDK, a read-only chain RPC, and the Corridor API.

CLIENT · REACT NATIVE / EXPO 11 screens · theme/tokens · component primitives Renders server state. Owns no money logic, no credentials, no quote arithmetic. Privy JWT Wallet SDK on-device key shards EIP-1193 · sign only Base RPC read-only, no secret balanceOf · receipts ⎯ TRUST BOUNDARY ⎯ CORRIDOR API Quote service signs · expires Ledger append-only log Webhook ingress verify · normalise · seq Reconciler backoff poll, the floor under every dropped webhook Every provider secret and the quote-signing key live here, and only here. provider interfaces OnrampProvider bridge.usd.ach Real product. Sandbox not self-serve. PayoutProvider turkiye.try.bank Owns IBAN mod-97. Corridor-specific partner. KycProvider kyc.vendor Real state machine. Fixture verdict. PayoutProvider bridge.mxn.spei Implemented, never called. Bridge has no TRY route. SETTLEMENT · BASE SEPOLIA · THE ONE LEG THAT MOVES VALUE ERC-20 transfer() signed by the embedded wallet USDC 0x036CbD53842c5426634e7929541eC2318f3dCF7e · 6 decimals · 12 confirmations

fig 1 · trust boundary and provider seam. adding a corridor is a row in ROUTES plus an adapter.

as built: the corridor api runs in-process (services/corridor.ts) behind the same contracts, the wallet is simulated, and the one real transfer was signed by scripts/proof.mts, not the app.

One transfer, five rails

The timeline screen 09 renders. Durations are real, not demo-compressed: ACH is the slow leg and the chain leg takes seconds, which is the whole argument for stablecoin rails and the reason the receipt reports time-in-transit rather than hiding it.

ACH debit T+0 $503.75 USD settled T+2 banking days funded_held Minted +1s 500.00 USDC On chain ~24s · 12 confs tx hash exists here Payout < 30 min FAST / EFT Delivered ₺26,420.00 credited, not submitted R10 unauthorised-return window, up to 60 days Opens when the debit settles and stays open long after the lira is spent. Priced, not solved. payout held across this gap

fig 2 · settlement timeline. the hold is deliberate; the red window cannot be closed by holding.

Full detail in the integration architecture and the failure-modes writeup.