Two primitives
Every flow on Corridor is one of two things:- Collection: local currency comes in through a ramp partner, becomes USDC, crosses into the hub and is credited to the customer’s pathUSD balance.
- Payout: the customer’s hub balance goes out to a spoke, either public (a partner pays local currency) or shielded (an Ironwood batch).
Fig. 02 · Every flow is a collection into the Tempo hub or a payout out of it.
Why a hub
N, not N²
A bilateral network of six regions needs fifteen links. A hub needs six. Every partner added reaches every customer and every other region on day one.
One place to hold money
Customers keep one balance instead of a float in each country. Pre-funding becomes a forecast on one number.
One place to reconcile
Every dollar passes through the hub, so every dollar is settled, held and reconciled in one ledger and visible to treasury.
New corridors need no code
A corridor is just a currency pair.
GHS-HKD works the moment a GHS collector and an HKD payer exist.The hub is enforced
The planner refuses flows that bypass the hub. This is a correctness property, tested inrouting.test.ts, not a convention: