Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

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, primitives, signing helpers, generated sysio contract proxy, and domain workflows npm
@wireio/sdk-outpost Verified Ethereum/Solana outpost clients with native withdrawal requests and claims 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

See the SDK core guide for installation, ED wallet signing, contract access, desyndication request decoding, and depot swap quote snapshots.

Core signing and Outpost imports are checked in native Node CJS and ESM, including the same embedded-key ED signature format in both module systems.

See native deposits and syndication for external LIQ acquisition, deposit fee quotes and the separate Wire-settlement boundary.

Use deployment profiles to select multiple supported networks in one SDK version. Client bindings, ETH withdrawal payer and applicable syndication limits come from the verified suite. Solana withdrawal requests select user-scoped nonce or counter encoding from that verified producer IDL; callers keep the same signing flow. The Outpost guide documents temporary Testnet support and its required removal when deployments converge on the RC.

See pool pricing and valuation for explicit USD references, yield-adjusted TVL/LP values and read-only TWAP calculations.

Examples

The Core SDK guide covers generated contract access and multisig compatibility, including Wire KV bounds, ABI recovery and read-only failure handling.

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

Publishing

GitHub Actions publishes non-private workspace packages to npm with provenance. Each published package manifest must keep repository.url set to https://github.com/Wire-Network/wire-libraries-ts or npm will reject provenance validation.

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
│   ├── sdk-outpost/         # Typed external-chain outpost SDK
│   ├── 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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages