Engineering Lab
Architecture you can poke at.
Working implementations of the patterns behind trading platforms, wallet infrastructure and cross-chain systems. All data is simulated — no wallet, funds or production access needed.
Experiments
State Machine Visualizer
Dispatch events and observe legal transitions, guards, effects and state changes.
- Finite state machine
- Guards
- Effects as data
Resilient API Client
Simulate endpoint failures, timeouts and retries with exponential backoff and automatic failover.
- Retry with backoff
- Circuit breaker
- Failover
Wallet Adapter Playground
Switch requirements and explore capability matching and adapter selection.
- Adapter
- Registry
- Capability negotiation
Durable Workflow Simulator
Explore step execution, failures, idempotency keys and saga compensation.
- Saga
- Idempotency
- Compensation
Stream Recovery Playground
Simulate connection loss, inactivity detection and sequence-gap recovery.
- Heartbeat
- Exponential backoff
- Gap recovery
Intent & Capability Matcher
Compare providers, rank capabilities and select an execution strategy for an intent.
- Intent–capability–matcher
- Strategy
- Weighted scoring
How every experiment is built
The source code demonstrates the same principles the playgrounds explain.
01
Core
features/lab/*/<core>.ts
Framework-agnostic TypeScript. Pure decisions, injected clocks and transports, unit-tested with Vitest.
02
Shell
features/lab/*/playground.tsx
A thin React layer that runs the core, renders its state and executes effects.
03
Notes
features/lab/*/notes.mdx
The design patterns, trade-offs and what to try in the playground.