Skip to content

Wire-Network/wire-libraries-ts

Repository files navigation

Wire Libraries TypeScript

A monorepo containing shared TypeScript libraries for Wire applications, providing cross-platform utilities for logging, type guards, async helpers, blockchain SDK primitives, and protobuf code-generation tooling.

Packages

Package Description npm
@wireio/shared Core shared utilities (logging, guards, helpers) npm
@wireio/shared-web Web-specific utilities private
@wireio/shared-node Node.js-specific utilities private
@wireio/sdk-core Wire blockchain SDK core types and primitives npm
@wireio/wallet-ext-sdk Client SDK for the Wire Wallet browser extension npm
@wireio/wallet-browser-ext Chrome extension developer wallet for Wire private
@wireio/protoc-gen-solana protoc plugin — Rust/Solana codegen from proto3 npm
@wireio/protoc-gen-solidity protoc plugin — Solidity codegen from proto3 npm
@wireio/wire-protobuf-bundler CLI to fetch protos and generate publishable packages npm

Examples

Example Description
web-logging-example Browser-based logging demo using @wireio/shared

Requirements

  • Node.js >= 24
  • pnpm >= 9

Getting Started

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Build in watch mode
pnpm build:dev

# Run tests
pnpm test

Project Structure

wire-libraries-ts/
├── packages/
│   ├── shared/              # Core utilities (logging, guards, helpers)
│   ├── shared-web/          # Web-specific utilities
│   ├── shared-node/         # Node.js-specific utilities
│   ├── sdk-core/            # Wire blockchain SDK core
│   ├── wallet-ext-sdk/      # Wallet extension client SDK
│   ├── wallet-browser-ext/  # Chrome extension wallet
│   ├── protoc-gen-solana/   # protoc plugin → Rust/Solana
│   ├── protoc-gen-solidity/ # protoc plugin → Solidity
│   └── protobuf-bundler/    # CLI for proto → package pipeline
├── examples/
│   └── web-logging-example/
├── etc/
│   └── tsconfig/            # Shared TypeScript configurations
└── tsconfig.json            # Root config with project references

TypeScript Configuration

The monorepo uses project references with shared base configs in etc/tsconfig/:

  • tsconfig.base.json — ESM packages (DOM + ESNext)
  • tsconfig.base.cjs.json — CommonJS packages (Node-only)
  • tsconfig.base.jest.json / tsconfig.base.jest.json — Jest transforms

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors