Skip to content

void-layer/codec

@void-layer/codec

Canonical Invoice codec — TLV + Brotli wire format. v1 schema LOCKED forever.

npm CI License: MIT

Status

Phase 2 complete — Rust + WASM codec shipped (0.1.0). Phase 3: npm publish + voidpay.xyz cutover.

Packages

Package Status Description
@void-layer/codec 0.1.0 ready Rust + WASM canonical TLV codec
@void-layer/types 0.1.0 ready Manual TypeScript types (zero runtime deps)
@void-layer/networks 0.1.0 ready EVM chain configs + token list (no RPC keys)

Quick Install

pnpm add @void-layer/codec

Not yet published — Phase 3

Why

  • Third-party developers building on top of VoidPay need a stable, versioned codec they can depend on
  • MCP servers, Farcaster Frames, and AI agents all depend on a common wire format — language-agnostic TLV is the right primitive
  • Version-controlled schema means consumers can pin to v1 and get backward-compat guarantees forever
  • Language-agnostic TLV encoding allows Rust, Go, Python, and JS implementations to interoperate on the same wire format

Constitution IV — Perpetual

Schema v1 LOCKED. Old URLs decode forever.

Development

See CONTRIBUTING.md

Security

See SECURITY.md

Architecture

See docs/architecture-overview.md

Spec

Full design: spec 056 in voidpay-ai (private — internal reference)


Built by Ignat Romanov · MIT License

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages