Corridor is a TypeScript monorepo (pnpm workspaces) with one Rust service for FROST signing. The ledger runs on embedded Postgres (PGlite) locally, so there is no database to install.
Prerequisites
- Node.js 22 or later and pnpm 9
- Rust stable, only for the FROST signer and the Zcash tooling
- For the shielded lane:
zcash-devtool built locally
Run it
Verify
The suite covers the ledger invariants, the reference codec, routing and hub enforcement, the saga engine (including forced failures and compensation order), partner adapters, webhooks, the Solana memo leg, ZIP-321 batches, NEAR quotes and vault accounting. A first memo transfer on Tempo
Generates testnet keys into .env.local on first run, funds them from the Moderato faucet, sends a transferWithMemo, finds it again by its indexed memo topic and books it exactly once. Open the treasury console
The console owns the local ledger. Stop CLI demos before starting it, because the embedded Postgres has a single owner.
Scripts
Private keys are written to .env.local and .keys/, both gitignored. Never commit them. The console snapshot refuses to publish if any value from either location appears in its output.
Repository layout