Overview
corridor-in-a-box is an open, manifest-driven engine for Stellar SEP-31
cross-border corridors. A corridor is configuration, not code: the engine runs
quote → comply → settle → reconcile → recover over any standards-compliant
anchor pair, and adding a new corridor is a new *.corridor.yaml file — not a fork.
No smart contract required. SEP-31 is off-chain orchestration of a single native Stellar payment (the settle leg).
The three boundaries
- engine ↔ manifest — the engine contains no corridor-specific strings. Corridor #2 is a YAML file, not a code change.
- engine ↔ adapters — the engine knows only the
AnchorAdapterinterface; every standards-compliant anchor shares one adapter. - router seam — the open repo ships a
RouteResolverinterface plus a trivial default. The health-/rate-weighted resolver is proprietary and injected at runtime. That single seam is the entire open-core line.