Getting started
corepack enable && pnpm install
pnpm lint # eslint + prettier
pnpm typecheck # whole monorepo, one tsc pass
pnpm test # vitest: engine, manifest, money, sep31, stellar, service
pnpm example # run a payment end-to-end (mocked anchor + settle)
pnpm cli plan corridors/reference.corridor.yaml # offline liveness check
pnpm example walks a payment through every state and proves idempotency:
created -> quoted -> compliant -> opened -> verifying -> settling -> settled -> reconciled -> completed
replay with same key -> idempotent return (state=completed)
This web app
cd web
pnpm install
pnpm dev # http://localhost:3000
The Run a payment page drives a simulation of the engine's state machine (a
re-implementation; it can drift). Set CORRIDOR_SERVICE_URL to drive a real
@corridor/service.