@tevm/voltaire), an Effect 4 layer (voltaire-effect), and native bindings for Go, Python, Rust, Swift, and C.
Quick Start
Workspace Packages
Core Engineering Rules
- No stubs or skipped tests. Every committed test passes; broken or unimplemented tests are fixed or removed.
- Module imports in Zig. Import
@import("primitives"),@import("crypto"), or@import("precompiles")— never relative cross-module paths like../primitives/.... - Explicit memory ownership in Zig. Functions that allocate take an explicit
std.mem.Allocator; callers free returned slices. - Zero-overhead branded types in TypeScript. Primitives are branded
Uint8Arrayorstringtypes withsideEffects: falsesubpath exports. - Cross-language parity. Zig, TypeScript, WASM, and native FFI outputs must match byte-for-byte on shared test vectors.
Essential Commands
Developer Guides
Architecture
Layered runtime architecture, Zig module graph, and memory ownership.
Codebase Map
Directory-by-directory layout of every package and build output.
Build System
build.zig steps, Cargo features, pnpm scripts, and cross-compilation.WASM
WASM build modes, linear memory protocol, bundler config, and limitations.
Multi-Language
C ABI, Bun FFI, Rust
crypto_wrappers, C libraries, and Swift/Go/Python bindings.Testing
Zig inline tests, Vitest suites, cross-validation, fuzzing, and benchmarks.
TypeScript Patterns
Branded types, dual APIs, JSDoc typing, and tree-shaking rules.
Zig Patterns
Allocator conventions, error sets, comptime patterns, and inline tests.

