Skip to main content
Looking for Contributors! This Skill needs an implementation.Contributing a Skill involves:
  1. Writing a reference implementation with full functionality
  2. Adding comprehensive tests
  3. Writing documentation with usage examples
See the react-query Skill for an example of a framework integration Skill.Interested? Open an issue or PR at github.com/evmts/voltaire.
Skill — Copyable reference implementation. Use as-is or customize. See Skills Philosophy.
Effect.ts provides a powerful foundation for building type-safe, composable applications. Combined with Voltaire’s branded types and typed errors, you get full type safety across your entire Ethereum application—including error channels.

Why Effect.ts + Voltaire?

Type-Safe Error Channels

Voltaire’s errors all have a typesafe name property, making them perfect for Effect’s typed error channels:

Schema Validation for Branded Types

Use Effect Schema to validate and decode branded types:

Planned Implementation

Effect Wrappers for Voltaire Functions

Address Module with Effect

Transaction Pipeline

Provider with Effect

Error Recovery

Key Benefits

Error Types Reference

Voltaire’s errors are organized hierarchically, making them easy to match:
All errors have:
  • name: Typesafe discriminator (e.g., "InvalidFormatError")
  • code: Programmatic error code (e.g., "INVALID_FORMAT")
  • message: Human-readable description
  • context: Optional debugging metadata