The Privacy Layer SDK is a high-level multi-chain TypeScript library for auditable private payments. It gives your application a stable domain API — deposit, transfer, and withdraw — while hiding low-level cryptography and chain orchestration inside network presets.

What the SDK is

The SDK splits into two layers: The SDK orchestrates private transactions on the client and maintains a local cache of domain state (private records, pool snapshot, registry lookups, wallet keys). It does not replace your backend or indexer — those services still supply asset catalogs, delivery indexing, and audit interpretation.
Stellar and Soroban details appear only in the Stellar preset section, Quick start (Stellar preset), and Stellar application development how-to guides.

Problems it solves

Without the SDK, every application must manually assemble transaction inputs, validate pool state, enforce disclosure rules, drive wallet signing, and persist private records. The SDK provides:
  • A two-phase operation modelprepare validates and plans; execute signs, submits, and persists — so UI can show errors before the wallet prompt.
  • Typed errors and progress events for loading states and retry logic.
  • Pluggable state through adapter libraries (in-memory, Redux) instead of locking you to one state manager.
  • Extensibility — new chain presets can ship without changing the core intent and lifecycle API.

What you can build

  • A multi-chain wallet or payment client (Stellar is the first shipped preset).
  • Embedded private transfers inside an existing dApp on a supported network.
  • A backend signing service using a preset’s Node entrypoint (you supply a server-side wallet adapter).
  • Automated test harnesses and CI pipelines with fake transact engines — no live chain required.

How documentation is organized

Read in this order:
  1. Overview — product scope and package map (multi-chain).
  2. Concepts — domain model, operations, lifecycle, disclosure, security (multi-chain).
  3. Integration — runtime paths, quick start, state adapters, production data sources.
  4. Stellar application development — full React + Redux wiring and operation how-to guides.

Packages

Map of @arcanetech/* packages and the Stellar preset.

Integration paths

Choose browser, Node, or test runtime.

Quick start (Stellar preset)

Minimal in-memory example without Redux.

Domain model

Addresses, records, pool, and registry concepts.